Files
openlayers/examples/doubleSetCenter.html
crschmidt e60734747d Commit example for testing of bug reports on mailing list. Will deliver this
URL to users and see if they can reproduce the problem in a simple test case
that mimicks this.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1083 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 14:21:10 +00:00

18 lines
497 B
HTML

<html>
<head>
<script src="../lib/OpenLayers.js"></script>
</head>
<body>
<div style="width:100%; height:100%" id="map"></div>
<script defer="defer" type="text/javascript">
var map = new OpenLayers.Map('map');
var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
map.addLayer(wms);
map.setCenter(new OpenLayers.LonLat(1,1), 1);
map.setCenter(new OpenLayers.LonLat(1,1), 1);
</script>
</body>
</html>