Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPM BaseMaps origin of coordinates #12

Open
All4Gis opened this issue Apr 15, 2020 · 0 comments
Open

OPM BaseMaps origin of coordinates #12

All4Gis opened this issue Apr 15, 2020 · 0 comments

Comments

@All4Gis
Copy link

All4Gis commented Apr 15, 2020

Hi

Just for reporting.

I'm looking at the basemaps examples and the openlayers examples are not correct using.

Screenshot from 2020-04-15 21-16-10

With leaflet this can be fixed with the tms parameter or using {-y}. Leaflet documentation, but OL doesn't have that option (or I can't find it)

For this reason the examples on this website, https://www.openplanetary.org/opm-basemaps/shaded-colour-mola-elevation, would not be correct.

We can use {-y} and in both libraries (leaflet >= 1.0) to solve this error. The same applies to the wiki https://www.openplanetary.org/opm-basemaps/shaded-colour-mola-elevation, the required TMS option is only available in leaflet <= 0.7.
The recommended way for both libraries is use {-y} instead {y}
I haven't tried them all, but they all look wrong.

I just wanted to inform you about this, Great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant