exposing the map for firebuggers - and removing some crufty html comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4222 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user