diff options
author | Chris Schlaeger <chris@linux.com> | 2015-10-17 21:36:38 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2015-10-17 21:36:38 +0200 |
commit | e30f267181d990947e67909de4809fa941698c85 (patch) | |
tree | 46e9f94c2b3699ed378963b420b8a8d361286ea1 /misc/openlayers/tests/manual/reflow.html | |
parent | e763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff) | |
download | postrunner-e30f267181d990947e67909de4809fa941698c85.zip |
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/tests/manual/reflow.html')
-rw-r--r-- | misc/openlayers/tests/manual/reflow.html | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/misc/openlayers/tests/manual/reflow.html b/misc/openlayers/tests/manual/reflow.html deleted file mode 100644 index bb9585e..0000000 --- a/misc/openlayers/tests/manual/reflow.html +++ /dev/null @@ -1,59 +0,0 @@ -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style type="text/css"> - #map { - width: 800px; - height: 475px; - border: 1px solid black; - } - </style> - <script src="../../lib/OpenLayers.js" type="text/javascript"></script> - <script type="text/javascript"> - - var map; - var vectors; - - function init(){ - map = new OpenLayers.Map('map'); - var wms = new OpenLayers.Layer.WMS( - "OpenLayers WMS", - "http://labs.metacarta.com/wms/vmap0", - {layers: 'basic'} - ); - - vectors = new OpenLayers.Layer.Vector( - "Simple Geometry", - { - styleMap: new OpenLayers.StyleMap({ - externalGraphic: "../../img/marker-gold.png", - pointRadius: 10 - }) - } - ); - - map.addLayers([wms, vectors]); - - var features = []; - var x = -111.04; - var y = 45.68; - for(var i = 0; i < 10; i++){ - x += i * .5; - y += i * .1; - features.push( - new OpenLayers.Feature.Vector( - new OpenLayers.Geometry.Point(x, y) - ) - ); - } - - map.setCenter(new OpenLayers.LonLat(x, y), 5); - vectors.addFeatures(features); - }; - - </script> - </head> - <body onload="init()"> - <div id="map"></div> - <p>Use the pan buttons. See flicker at end of animated pan.</p> - </body> -</html> |