Move marker away from top left corner of the world.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4287 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-09-14 02:16:30 +00:00
parent 7d814591d0
commit c41f8496eb

View File

@@ -28,7 +28,7 @@
'http://boston.openguides.org/markers/AQUA.png',
size, null, calculateOffset);
markers.addMarker(
new OpenLayers.Marker(new OpenLayers.LonLat(-180,90), icon));
new OpenLayers.Marker(new OpenLayers.LonLat(-71,40), icon));
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();