Make the box outline the same colour as the ways and points drawn
authorTom Hughes <tom@compton.nu>
Wed, 8 Apr 2009 23:52:39 +0000 (23:52 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 8 Apr 2009 23:52:39 +0000 (23:52 +0000)
in the data browser maps.

public/javascripts/map.js

index 71edee56cdfda8431656c32b33bc91d64be66bf5..3cfa2f9a1dace745cc8ecf22faa55b40d26f082b 100644 (file)
@@ -121,8 +121,8 @@ function addMarkerToMap(position, icon, description) {
 function addBoxToMap(boxbounds) {
    var geometry = boxbounds.toGeometry().transform(epsg4326, map.getProjectionObject());
    var box = new OpenLayers.Feature.Vector(geometry, {}, {
-      strokeWidth: 3,
-      strokeColor: '#0000ff',
+      strokeWidth: 2,
+      strokeColor: '#ee9900',
       fillOpacity: 0,
    });