mapycz-save-map-denominator
This commit is contained in:
parent
f7098a8a7e
commit
d2d587cb1b
2 changed files with 3 additions and 3 deletions
|
@ -542,12 +542,12 @@ void serialize_layer( ptree & map_node, layer const& lyr, bool explicit_defaults
|
|||
|
||||
if ( lyr.minimum_scale_denominator() != 0 || explicit_defaults )
|
||||
{
|
||||
set_attr( layer_node, "minimum_scale_denominator", lyr.minimum_scale_denominator() );
|
||||
set_attr( layer_node, "minimum-scale-denominator", lyr.minimum_scale_denominator() );
|
||||
}
|
||||
|
||||
if ( lyr.maximum_scale_denominator() != std::numeric_limits<double>::max() || explicit_defaults )
|
||||
{
|
||||
set_attr( layer_node, "maximum_scale_denominator", lyr.maximum_scale_denominator() );
|
||||
set_attr( layer_node, "maximum-scale-denominator", lyr.maximum_scale_denominator() );
|
||||
}
|
||||
|
||||
if ( lyr.queryable() || explicit_defaults )
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a44457cc063249e0d204cde7249d37706bf8844c
|
||||
Subproject commit 0c278955e867f9b88abb6bcd5a2aa3ee76e870c1
|
Loading…
Reference in a new issue