Skip to content

elevation button appears for all layers with dimensions #3338

@baloola

Description

@baloola

Description

when editing layers with dimension. if the layer has an elevation element on its dimensions, 'elevation' button is shown, if the user clicked on it and the layer has no elevation data Mapstore2 crashes, this happens when the elevation values are requested from a source but not stored whiten the layer object.

Browser Version Affected

  • Indicate the browser version in which the issue has been found
    chromium Version 70.0.3538.77
    Steps to reproduce

  • A list of steps to reproduce the bug

  • create a service in Catalog (url : http://cloudsdi.geo-solutions.it/geoserver/wms, type: WMS)

  • search for "flexpart_time_series"

  • add it to the map

  • select the layer in TOC and click on edit button (selected layer settings).

  • an elevation button will appear, click on it

Expected Result

  • Describe here the expected result
    you see a graph that shows elevation data
    Current Result

  • Describe here the current behavior
    Mapstore2 crashes

Other useful information (optional):

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions