When using the newest TileStream server 1.0.0 the default URLs contains the string v2 and not 1.0.0. E.g http://localhost:8888/v2/geography-class/{z}/{x}/{y}.png but this module only accepts URLs with 1.0.0 as the version part.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | openlayers-1544258-4.patch | 2.89 KB | cableman0408 |
| #1 | openlayers-1544258-1.patch | 2.48 KB | cableman0408 |
| #1 | openlayers_version.png | 36.29 KB | cableman0408 |
Comments
Comment #1
cableman0408 commentedThis patch enables the user to enter the version number in the OpenLayers UI, hence making the module support the newest version of MapBox TileStream and other services.
It defaults to 1.0.0 as version to ensure that existing sites don't break.
Comment #2
cableman0408 commentedComment #3
cableman0408 commentedI have look more into this an it turns out that you can set the option "serviceVersion", but it makes the map switch top and bottom in the middle of the map.
Comment #4
cableman0408 commentedThis patch works with service version 1.0.0 and v2
Comment #5
cableman0408 commentedComment #6
Will White commented> it makes the map switch top and bottom in the middle of the map.
The v2 URLs for tilestream are no longer TMS. They use XYZ, which is why you'd seeing the tiles flip.
Comment #7
cableman0408 commentedThanks, that explains it :-)
Could you point me to some documentation about this, I have a hard time finding it online.
Update: found this http://support.mapbox.com/discussions/tilestream/41-openlayers-shows-lay...
Comment #8
cableman0408 commentedI looked into using a XYZ layer, but ran into a new problem where the zoom (z) is always -1. This issue is described here: http://drupal.org/node/926326