Hallo,
wie schaffe ich es, hier jeweils auch die aktuelle Zoomstufe dem
PHP-Script zu übergeben?
var layer = new OpenLayers.Layer.Vector("Test",
{
projection: wgs84,
maxResolution: 10.0,
visibility: true,
transitionEffect: 'resize',
strategies:
[
new OpenLayers.Strategy.BBOX()
],
protocol: new OpenLayers.Protocol.HTTP(
{
url: root+'api/tiler.php',
format: new OpenLayers.Format.GeoJSON()
})
});
Ich möchte also, dass folgender Parameter an die URL angehängt wird:
&zoom=<aktueller Zoom>
Alex
_______________________________________________
Talk-de mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-de