Skip to content

Custom resolutions (and other mapOptions) are not saved with a map  #2608

@mbarto

Description

@mbarto

Description

Custom resolutions (and other mapOptions) should be saved with a map

Steps to reproduce

  • Configure custom resolutions in new.json
"mapOptions": {
      "view": {
        "resolutions": [
          84666.66666666688,
          42333.33333333344,
          21166.66666666672,
          10583.33333333336,
          5291.66666666668,
          2645.83333333334,
          1322.91666666667,
          661.458333333335000,
          529.166666666668000,
          396.875000000001000,
          264.583333333334000,
          132.291666666667000,
          66.145833333333500,
          39.687500000000100,
          26.458333333333400,
          13.229166666666700,
          6.614583333333350,
          3.968750000000010,
          2.645833333333340,
          1.322916666666670,
          0.661458333333335
        ]
      }
    }
  • create a new map (you will see custom scales in the scale selector)
  • save the map
  • reopen it
  • you will see standard scales in the scale selector

Expected Result

  • custom mapOptions (e.g. resolutions) are saved and reloaded

Current Result

  • custom mapOptions (e.g. resolutions) are NOT saved and reloaded

Other useful information (optional):

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions