-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi
Just for reporting.
I'm looking at the basemaps examples and the openlayers examples are not correct using.
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.
- "http://s3-eu-west-1.amazonaws.com/whereonmars.cartodb.net/mola-color/{z}/{x}/{y}.png"
- "http://s3-eu-west-1.amazonaws.com/whereonmars.cartodb.net/viking_mdim21_global/{z}/{x}/{y}.png"
- "http://s3-eu-west-1.amazonaws.com/whereonmars.cartodb.net/celestia_mars-shaded-16k_global/{z}/{x}/{y}.png"
I just wanted to inform you about this, Great job!
