remove trailing commas in HTML to make IE happy (thanks to TomH)

This commit is contained in:
Sarah Hoffmann
2012-02-04 07:53:02 +00:00
parent 5c43821ebe
commit d3c883f1b5
2 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ body {
numZoomLevels: 19, numZoomLevels: 19,
units: 'm', units: 'm',
projection: new OpenLayers.Projection("EPSG:900913"), projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"), displayProjection: new OpenLayers.Projection("EPSG:4326")
} ); } );
map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default")); map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default"));
@@ -69,7 +69,7 @@ body {
fillColor: "#F0F7FF", fillColor: "#F0F7FF",
strokeWidth: 2, strokeWidth: 2,
strokeOpacity: 0.75, strokeOpacity: 0.75,
fillOpacity: 0.75, fillOpacity: 0.75
}; };
var proj_EPSG4326 = new OpenLayers.Projection("EPSG:4326"); var proj_EPSG4326 = new OpenLayers.Projection("EPSG:4326");
var proj_map = map.getProjectionObject(); var proj_map = map.getProjectionObject();

View File

@@ -290,7 +290,7 @@ form{
projection: new OpenLayers.Projection("EPSG:900913"), projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"), displayProjection: new OpenLayers.Projection("EPSG:4326"),
eventListeners: { eventListeners: {
"moveend": mapEventMove, "moveend": mapEventMove
} }
} ); } );
map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default")); map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default"));