Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Since the upgrade to the latest dev (7.-2.0-beta11+19-dev), mapbox layers don't work anymore, because it seems that the "Tile origin" parameter was added to the Openlayers TMS layers. I found a way to make it work by looking at this page: http://qandasys.info/trying-to-use-mbtiles-as-a-openlayers-layer-tms/ and using, as the tile origin, for longitude and latitude, -128 * 156543.03390625 = -20037508.34
I have no clue why this number works, but it seems to work and the map displays properly afterwards...
Comments
Comment #1
PolThis message is part of the issue cleanup initiative.
Openlayers 2.x has been deprecated since the release of Openlayers 3.x the 31 December 2015.
If you want to stay on 2.x, you should try with the latest version of the 2.x release.
However, I strongly encourage you to move on version 3.
Version 3 is much more stable than version 2. It does not yet contain all the features but the main ones are there.
I'll close this thread, feel free to reopen it if needed.
Thanks for your understanding.