diff options
Diffstat (limited to 'www/js/map-OpenLayers.js')
-rw-r--r-- | www/js/map-OpenLayers.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index c4a6d68..34a75a4 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -147,6 +147,9 @@ function fixmystreet_onload() { } fixmystreet.map.addLayer(fixmystreet.markers); + fixmystreet.location = new OpenLayers.Layer.Vector('location'); + fixmystreet.map.addLayer(fixmystreet.location); + if ( fixmystreet.zoomToBounds ) { var bounds = fixmystreet.markers.getDataExtent(); if (bounds) { fixmystreet.map.zoomToExtent( bounds ); } |