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
This commit is contained in:
17
examples/doubleSetCenter.html
Normal file
17
examples/doubleSetCenter.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user