dashboards-maps icon indicating copy to clipboard operation
dashboards-maps copied to clipboard

Lock wms crs input to epsg-3857 (issue 600)

Open qugu2427 opened this issue 7 months ago • 3 comments

Description

Disable the custom wms crs input and set it to a constant value of EPSG:3857.

Currently, users are able to input a different crs into the curstom wms field. The problem is that maplibre only allows epsg-3857 (see https://github.com/opensearch-project/dashboards-maps/issues/600#issuecomment-2218484539), thus inputting any other value creates an incorrect bbox which essentially ruins the whole map.

Though this is not a perfect 'fix', it does prevent these bbox errors from occuring. Additionally, most map servers will allow epsg-3857 as a source.

Issues Resolved

https://github.com/opensearch-project/dashboards-maps/issues/600

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

qugu2427 avatar Jul 09 '24 22:07 qugu2427