[OpenLayers-Commits] r4222 - trunk/openlayers/examples
commits at openlayers.org
commits at openlayers.org
Tue Sep 11 17:50:36 EDT 2007
Author: tschaub
Date: 2007-09-11 17:50:35 -0400 (Tue, 11 Sep 2007)
New Revision: 4222
Modified:
trunk/openlayers/examples/baseLayers.html
trunk/openlayers/examples/boxes.html
trunk/openlayers/examples/canvas.html
trunk/openlayers/examples/ciesin.html
trunk/openlayers/examples/click.html
trunk/openlayers/examples/controls.html
trunk/openlayers/examples/freemap.html
trunk/openlayers/examples/fullScreen.html
trunk/openlayers/examples/geojson.html
trunk/openlayers/examples/georss-markers.html
trunk/openlayers/examples/georss-serialize.html
trunk/openlayers/examples/georss.html
trunk/openlayers/examples/gml-layer.html
trunk/openlayers/examples/gml-serialize.html
trunk/openlayers/examples/google-factbook-tc.html
trunk/openlayers/examples/google-factbook.html
trunk/openlayers/examples/google.html
trunk/openlayers/examples/gutter.html
trunk/openlayers/examples/image-layer.html
trunk/openlayers/examples/kamap.html
trunk/openlayers/examples/kml-layer-linestring.html
trunk/openlayers/examples/kml-layer.html
trunk/openlayers/examples/layer-opacity.html
trunk/openlayers/examples/layerLoadMonitoring.html
trunk/openlayers/examples/layerswitcher.html
trunk/openlayers/examples/lite.html
trunk/openlayers/examples/mapserver.html
trunk/openlayers/examples/mapserver_untiled.html
trunk/openlayers/examples/markerResize.html
trunk/openlayers/examples/markers.html
trunk/openlayers/examples/markersTextLayer.html
trunk/openlayers/examples/mm.html
trunk/openlayers/examples/mouse-position.html
trunk/openlayers/examples/multiserver.html
trunk/openlayers/examples/navtoolbar-outsidemap.html
trunk/openlayers/examples/navtoolbar.html
trunk/openlayers/examples/notile.html
trunk/openlayers/examples/openmnnd.html
trunk/openlayers/examples/outOfRangeMarkers.html
trunk/openlayers/examples/panel.html
trunk/openlayers/examples/popups.html
trunk/openlayers/examples/regular-polygons.html
trunk/openlayers/examples/resize-features.html
trunk/openlayers/examples/rotate-features.html
trunk/openlayers/examples/select-feature-openpopup.html
trunk/openlayers/examples/select-feature.html
trunk/openlayers/examples/tiger.html
trunk/openlayers/examples/tilecache.html
trunk/openlayers/examples/tms.html
trunk/openlayers/examples/urban.html
trunk/openlayers/examples/ve.html
trunk/openlayers/examples/vector-features.html
trunk/openlayers/examples/webcam.html
trunk/openlayers/examples/wfs-t.html
trunk/openlayers/examples/wfs.html
trunk/openlayers/examples/wkt.html
trunk/openlayers/examples/wms-untiled.html
trunk/openlayers/examples/wms.html
trunk/openlayers/examples/wmst.html
trunk/openlayers/examples/worldwind.html
trunk/openlayers/examples/wrapDateLine.html
trunk/openlayers/examples/yahoo.html
trunk/openlayers/examples/zoomLevels.html
Log:
exposing the map for firebuggers - and removing some crufty html comments
Modified: trunk/openlayers/examples/baseLayers.html
===================================================================
--- trunk/openlayers/examples/baseLayers.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/baseLayers.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -18,7 +18,6 @@
<script src="http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers"></script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -69,8 +68,6 @@
function remove() {
markers.removeMarker(marker);
}
-
- // -->
</script>
</head>
Modified: trunk/openlayers/examples/boxes.html
===================================================================
--- trunk/openlayers/examples/boxes.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/boxes.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,16 +9,15 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
- box_extents = [
+ var box_extents = [
[-10, 50, 5, 60],
[-75, 41, -71, 44],
[-122.6, 37.6, -122.3, 37.9],
[10, 10, 20, 20]
];
-
+ var map;
function init(){
- var map = new OpenLayers.Map('map');
+ map = new OpenLayers.Map('map');
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
@@ -39,7 +38,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/canvas.html
===================================================================
--- trunk/openlayers/examples/canvas.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/canvas.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -10,7 +10,6 @@
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, canvas;
var click;
function init(){
@@ -46,7 +45,6 @@
new OpenLayers.LonLat(parseFloat(OpenLayers.Util.getElement('lon2').value), parseFloat(OpenLayers.Util.getElement('lat2').value))
);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/ciesin.html
===================================================================
--- trunk/openlayers/examples/ciesin.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/ciesin.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,9 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
- var map = new OpenLayers.Map('map');
+ map = new OpenLayers.Map('map');
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
@@ -30,7 +30,6 @@
// map.setCenter(new OpenLayers.LonLat(0, 0), 0);
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/click.html
===================================================================
--- trunk/openlayers/examples/click.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/click.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,9 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
- var map = new OpenLayers.Map('map');
+ map = new OpenLayers.Map('map');
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
@@ -32,7 +32,6 @@
+ lonlat.lon + " E");
});
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/controls.html
===================================================================
--- trunk/openlayers/examples/controls.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/controls.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,9 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
- var map = new OpenLayers.Map('map', { controls: [] });
+ map = new OpenLayers.Map('map', { controls: [] });
map.addControl(new OpenLayers.Control.PanZoomBar());
map.addControl(new OpenLayers.Control.MouseToolbar());
@@ -42,7 +42,6 @@
map.addLayers([ol_wms, jpl_wms, dm_wms]);
if (!map.getCenter()) map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/freemap.html
===================================================================
--- trunk/openlayers/examples/freemap.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/freemap.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -17,11 +17,10 @@
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
- var lat = 900863;
- var lon = 235829;
- var zoom = 6;
- var map, layer;
+ var lat = 900863;
+ var lon = 235829;
+ var zoom = 6;
+ var map, layer;
function init(){
map = new OpenLayers.Map( 'map' );
@@ -39,7 +38,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl(new OpenLayers.Control.LayerSwitcher());
}
-// -->
</script>
</head>
Modified: trunk/openlayers/examples/fullScreen.html
===================================================================
--- trunk/openlayers/examples/fullScreen.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/fullScreen.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,9 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
- var map = new OpenLayers.Map('map');
+ map = new OpenLayers.Map('map');
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com:80/wms/vmap0?", {layers: 'basic'});
@@ -31,7 +31,6 @@
// map.setCenter(new OpenLayers.LonLat(0, 0), 0);
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/geojson.html
===================================================================
--- trunk/openlayers/examples/geojson.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/geojson.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -54,7 +54,6 @@
<script src="../lib/Firebug/firebug.js"></script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, vectors, drawControls, formats, select;
function init(){
map = new OpenLayers.Map('map');
@@ -131,8 +130,6 @@
offImages[i].src = "../theme/default/img/" + roots[i] + "_on.png";
}
})();
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/georss-markers.html
===================================================================
--- trunk/openlayers/examples/georss-markers.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/georss-markers.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
OpenLayers.ProxyHost = "/proxy/?url=";
@@ -26,7 +25,6 @@
var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml', {'icon':yelp});
map.addLayer(newl);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/georss-serialize.html
===================================================================
--- trunk/openlayers/examples/georss-serialize.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/georss-serialize.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, drawControl, g;
function serialize(feature) {
feature.attributes = {};
@@ -36,8 +35,6 @@
map.setCenter(new OpenLayers.LonLat(0, 0), 3);
}
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/georss.html
===================================================================
--- trunk/openlayers/examples/georss.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/georss.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
OpenLayers.ProxyHost = "/proxy/?url=";
@@ -29,7 +28,6 @@
map.addLayer(newl);
urlObj.value = "";
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/gml-layer.html
===================================================================
--- trunk/openlayers/examples/gml-layer.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/gml-layer.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -23,7 +22,6 @@
map.zoomToExtent(new OpenLayers.Bounds(-3.922119,44.335327,4.866943,49.553833));
map.addLayer(new OpenLayers.Layer.GML("GML", "gml/polygon.xml"));
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/gml-serialize.html
===================================================================
--- trunk/openlayers/examples/gml-serialize.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/gml-serialize.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, drawControl, g;
function serialize(feature) {
feature.attributes = {};
@@ -57,7 +56,6 @@
}
}
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/google-factbook-tc.html
===================================================================
--- trunk/openlayers/examples/google-factbook-tc.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/google-factbook-tc.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -16,7 +16,6 @@
<!-- <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTS6gjckBmeABOGXIUiOiZObZESPg'></script>-->
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, gmap, merc;
function init(){
@@ -40,8 +39,6 @@
}
- // -->
-
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/google-factbook.html
===================================================================
--- trunk/openlayers/examples/google-factbook.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/google-factbook.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -16,7 +16,6 @@
<!-- <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTS6gjckBmeABOGXIUiOiZObZESPg'></script>-->
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, gmap, merc;
function init(){
@@ -40,8 +39,6 @@
}
- // -->
-
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/google.html
===================================================================
--- trunk/openlayers/examples/google.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/google.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -15,7 +15,6 @@
<!-- <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTS6gjckBmeABOGXIUiOiZObZESPg'></script>-->
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 17;
@@ -69,8 +68,6 @@
function remove() {
markers.removeMarker(marker);
}
-
- // -->
</script>
</head>
Modified: trunk/openlayers/examples/gutter.html
===================================================================
--- trunk/openlayers/examples/gutter.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/gutter.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -12,7 +12,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 2;
var map;
window.onload = function() {
@@ -31,7 +30,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(-71.848, 42.2), 0);
}
- // -->
</script>
</head>
<body>
Modified: trunk/openlayers/examples/image-layer.html
===================================================================
--- trunk/openlayers/examples/image-layer.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/image-layer.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -12,7 +12,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map;
function init(){
map = new OpenLayers.Map('map');
@@ -34,7 +33,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/kamap.html
===================================================================
--- trunk/openlayers/examples/kamap.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/kamap.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,9 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
- var map = new OpenLayers.Map('map');
+ map = new OpenLayers.Map('map');
var ol_wms = new OpenLayers.Layer.WMS( "World Map",
"http://labs.metacarta.com/wms/vmap0?",
@@ -29,7 +29,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/kml-layer-linestring.html
===================================================================
--- trunk/openlayers/examples/kml-layer-linestring.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/kml-layer-linestring.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -23,7 +22,6 @@
map.addLayer(new OpenLayers.Layer.GML("KML", "kml/lines.kml", {format: OpenLayers.Format.KML}));
map.zoomToExtent(new OpenLayers.Bounds(-112.292744,36.068477,-112.22408,36.109246));
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/kml-layer.html
===================================================================
--- trunk/openlayers/examples/kml-layer.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/kml-layer.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -23,7 +22,6 @@
map.addLayer(new OpenLayers.Layer.GML("KML", "kml/mc-search.kml", {format: OpenLayers.Format.KML}));
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/layer-opacity.html
===================================================================
--- trunk/openlayers/examples/layer-opacity.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/layer-opacity.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -34,7 +34,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map = null;
var shade = null;
var maxOpacity = 0.9;
@@ -66,7 +65,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(464348.5,4975876), 1);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/layerLoadMonitoring.html
===================================================================
--- trunk/openlayers/examples/layerLoadMonitoring.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/layerLoadMonitoring.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -22,7 +22,6 @@
<script src="../lib/Firebug/firebug.js"></script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -106,8 +105,6 @@
function clearLog() {
eventsLog.innerHTML = "<b>Events Log:</b>";
}
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/layerswitcher.html
===================================================================
--- trunk/openlayers/examples/layerswitcher.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/layerswitcher.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,9 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
- var map = new OpenLayers.Map('map', { controls: [] });
+ map = new OpenLayers.Map('map', { controls: [] });
map.addControl(new OpenLayers.Control.LayerSwitcher({'div':OpenLayers.Util.getElement('layerswitcher')}));
@@ -35,7 +35,6 @@
map.addLayers([ol_wms, jpl_wms, dm_wms]);
if (!map.getCenter()) map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/lite.html
===================================================================
--- trunk/openlayers/examples/lite.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/lite.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -23,7 +22,6 @@
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/mapserver.html
===================================================================
--- trunk/openlayers/examples/mapserver.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/mapserver.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -26,7 +25,6 @@
map.addControl( new OpenLayers.Control.LayerSwitcher() );
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/mapserver_untiled.html
===================================================================
--- trunk/openlayers/examples/mapserver_untiled.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/mapserver_untiled.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,8 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
+ var map;
window.onload = function(){
- var map = new OpenLayers.Map( 'map', {maxResolution: 'auto'} );
+ map = new OpenLayers.Map( 'map', {maxResolution: 'auto'} );
var layer = new OpenLayers.Layer.MapServer( "MapServer Untiled",
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}, {singleTile: true} );
map.addLayer(layer);
Modified: trunk/openlayers/examples/markerResize.html
===================================================================
--- trunk/openlayers/examples/markerResize.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/markerResize.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
var size, icon;
@@ -41,7 +40,6 @@
icon.setSize(size);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/markers.html
===================================================================
--- trunk/openlayers/examples/markers.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/markers.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
function init(){
@@ -44,7 +43,6 @@
halfIcon.setOpacity(0.5);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/markersTextLayer.html
===================================================================
--- trunk/openlayers/examples/markersTextLayer.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/markersTextLayer.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
function init(){
@@ -26,7 +25,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/mm.html
===================================================================
--- trunk/openlayers/examples/mm.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/mm.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -14,8 +14,6 @@
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
-
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -45,7 +43,6 @@
function remove() {
markers.removeMarker(marker);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/mouse-position.html
===================================================================
--- trunk/openlayers/examples/mouse-position.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/mouse-position.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -14,7 +14,7 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
var map = new OpenLayers.Map('map');
@@ -32,7 +32,6 @@
OpenLayers.Util.getElement("coords").innerHTML = position;
});
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/multiserver.html
===================================================================
--- trunk/openlayers/examples/multiserver.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/multiserver.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -26,7 +25,6 @@
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/navtoolbar-outsidemap.html
===================================================================
--- trunk/openlayers/examples/navtoolbar-outsidemap.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/navtoolbar-outsidemap.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -16,7 +16,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -32,7 +31,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/navtoolbar.html
===================================================================
--- trunk/openlayers/examples/navtoolbar.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/navtoolbar.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -11,7 +11,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -28,7 +27,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/notile.html
===================================================================
--- trunk/openlayers/examples/notile.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/notile.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,7 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
map = new OpenLayers.Map('mapDiv', {maxResolution: 'auto'});
@@ -26,7 +26,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(6.5, 40.5), 4);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/openmnnd.html
===================================================================
--- trunk/openlayers/examples/openmnnd.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/openmnnd.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -12,7 +12,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
function init(){
@@ -115,7 +114,6 @@
html += "</ul>";
OpenLayers.Util.getElement('feature_info').innerHTML = html;
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/outOfRangeMarkers.html
===================================================================
--- trunk/openlayers/examples/outOfRangeMarkers.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/outOfRangeMarkers.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -14,11 +14,11 @@
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
// Variables
- var map = new OpenLayers.Map('map', { controls: [] });
+ map = new OpenLayers.Map('map', { controls: [] });
var lon = 35;
var lat = -6;
var zoom = 6;
@@ -45,7 +45,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
if (!map.getCenter()) map.zoomToMaxExtent();
}
- // -->
</script>
</head>
Modified: trunk/openlayers/examples/panel.html
===================================================================
--- trunk/openlayers/examples/panel.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/panel.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -52,7 +52,6 @@
<script src="../lib/OpenLayers.js"></script>
<script src="../lib/Firebug/debug.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -80,7 +79,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/popups.html
===================================================================
--- trunk/openlayers/examples/popups.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/popups.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer, popup;
var markers, feature, marker;
@@ -115,9 +114,6 @@
layer.destroy();
// map.removeLayer(markers);
}
-
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/regular-polygons.html
===================================================================
--- trunk/openlayers/examples/regular-polygons.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/regular-polygons.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -42,7 +42,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, polygonControl;
OpenLayers.Util.onImageLoadErrorColor = "transparent";
function init(){
@@ -76,7 +75,6 @@
polygonControl.handler.setOptions({radius: radius,
angle: 0});
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/resize-features.html
===================================================================
--- trunk/openlayers/examples/resize-features.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/resize-features.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -13,7 +13,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, vectorLayer, pointFeature, lineFeature, polygonFeature;
function init(){
@@ -80,7 +79,6 @@
vectorLayer.redraw();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/rotate-features.html
===================================================================
--- trunk/openlayers/examples/rotate-features.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/rotate-features.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -13,7 +13,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, pointFeature, lineFeature, polygonFeature;
function init(){
@@ -93,8 +92,6 @@
feature.geometry.rotate(angle, origin);
feature.layer.drawFeature(feature);
}
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/select-feature-openpopup.html
===================================================================
--- trunk/openlayers/examples/select-feature-openpopup.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/select-feature-openpopup.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -12,7 +12,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, drawControls, select;
function onFeatureSelect(feature) {
popup = new OpenLayers.Popup.Anchored("chicken",
@@ -67,7 +66,6 @@
}
}
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/select-feature.html
===================================================================
--- trunk/openlayers/examples/select-feature.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/select-feature.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -12,7 +12,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, drawControls, select;
function init(){
map = new OpenLayers.Map('map');
@@ -50,7 +49,6 @@
}
}
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/tiger.html
===================================================================
--- trunk/openlayers/examples/tiger.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/tiger.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,7 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
var map = new OpenLayers.Map('map', {'maxResolution': 1.40625/4, controls:[]});
@@ -26,7 +26,6 @@
map.addControl(new OpenLayers.Control.PanZoomBar());
map.setCenter(new OpenLayers.LonLat(-96, 35), 2);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/tilecache.html
===================================================================
--- trunk/openlayers/examples/tilecache.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/tilecache.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -19,7 +19,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
function init(){
map = new OpenLayers.Map( $('map'));
@@ -44,8 +43,6 @@
//this.src = "../img/blank.gif";
//this.style.display = "";
};
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/tms.html
===================================================================
--- trunk/openlayers/examples/tms.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/tms.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -34,7 +33,6 @@
map.addLayer(l);
map.setBaseLayer(l);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/urban.html
===================================================================
--- trunk/openlayers/examples/urban.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/urban.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,7 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
+ var map;
function init(){
var mapOptions = { maxResolution: 1.6, numZoomLevels: 21};
var map = new OpenLayers.Map('map', mapOptions);
@@ -26,7 +26,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(-71.4, 42.3), 6);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/ve.html
===================================================================
--- trunk/openlayers/examples/ve.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/ve.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -13,7 +13,6 @@
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
@@ -53,7 +52,6 @@
function remove() {
markers.removeMarker(marker);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/vector-features.html
===================================================================
--- trunk/openlayers/examples/vector-features.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/vector-features.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js" type="text/javascript"></script>
<script type="text/javascript">
- <!--
var map;
function init(){
@@ -102,7 +101,6 @@
map.setCenter(new OpenLayers.LonLat(point.x, point.y), 5);
vectorLayer.addFeatures([pointFeature, pointFeature3, pointFeature2, lineFeature, polygonFeature]);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/webcam.html
===================================================================
--- trunk/openlayers/examples/webcam.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/webcam.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -12,7 +12,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map;
function init(){
map = new OpenLayers.Map('map',
@@ -34,7 +33,6 @@
function refresh(layer) {
layer.moveTo(layer.map.getExtent(), true);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wfs-t.html
===================================================================
--- trunk/openlayers/examples/wfs-t.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wfs-t.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
function init(){
@@ -60,7 +59,6 @@
map.addControl(p);
map.zoomToExtent(new OpenLayers.Bounds(145.51045,-44.0,149.0,-40.5));
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wfs.html
===================================================================
--- trunk/openlayers/examples/wfs.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wfs.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer;
function init(){
@@ -27,7 +26,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(-100, 60), 3);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wkt.html
===================================================================
--- trunk/openlayers/examples/wkt.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wkt.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -28,7 +28,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, vectors, drawControls, wkt;
function init(){
map = new OpenLayers.Map('map');
@@ -108,7 +107,6 @@
element.value = 'Bad WKT';
}
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wms-untiled.html
===================================================================
--- trunk/openlayers/examples/wms-untiled.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wms-untiled.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -24,8 +23,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
}
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wms.html
===================================================================
--- trunk/openlayers/examples/wms.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wms.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 5;
var lat = 40;
var zoom = 5;
@@ -24,8 +23,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
}
-
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wmst.html
===================================================================
--- trunk/openlayers/examples/wmst.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wmst.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,8 +9,7 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
-var map,ia_wms;
+ var map, ia_wms;
function init(){
map = new OpenLayers.Map('map');
@@ -29,7 +28,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/worldwind.html
===================================================================
--- trunk/openlayers/examples/worldwind.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/worldwind.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,10 +9,9 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
- var ol_wms, ww, ww2;
+ var map, ol_wms, ww, ww2;
function init(){
- var map = new OpenLayers.Map('map', {'maxResolution': .28125, tileSize: new OpenLayers.Size(512, 512)});
+ map = new OpenLayers.Map('map', {'maxResolution': .28125, tileSize: new OpenLayers.Size(512, 512)});
ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
@@ -30,7 +29,6 @@
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(-71.4, 42.3), 6);
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/wrapDateLine.html
===================================================================
--- trunk/openlayers/examples/wrapDateLine.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/wrapDateLine.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map;
function init(){
map = new OpenLayers.Map( 'map', {maxResolution: 1.40625} );
@@ -48,7 +47,6 @@
map.addControl(new OpenLayers.Control.MousePosition());
map.zoomToMaxExtent();
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/yahoo.html
===================================================================
--- trunk/openlayers/examples/yahoo.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/yahoo.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -10,7 +10,6 @@
<script src="http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers"></script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var map, layer, velayer;
function init(){
@@ -28,7 +27,6 @@
map.setCenter(new OpenLayers.LonLat(-5, 40), 4);
map.addControl(new OpenLayers.Control.LayerSwitcher());
}
- // -->
</script>
</head>
<body onload="init()">
Modified: trunk/openlayers/examples/zoomLevels.html
===================================================================
--- trunk/openlayers/examples/zoomLevels.html 2007-09-11 21:16:28 UTC (rev 4221)
+++ trunk/openlayers/examples/zoomLevels.html 2007-09-11 21:50:35 UTC (rev 4222)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
var lon = 50;
var lat = 0;
var zoom = 0;
@@ -44,7 +43,6 @@
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
}
- // -->
</script>
</head>
<body onload="init()">
More information about the Commits
mailing list