Improvements to changeset bbox styling
This commit is contained in:
parent
8fe5dbb92c
commit
5a330c7b9d
2 changed files with 4 additions and 3 deletions
|
@ -91,7 +91,7 @@ OSM.History = function(map) {
|
|||
for (var i = 0; i < changesets.length; ++i) {
|
||||
var changeset = changesets[i],
|
||||
rect = L.rectangle(changeset.bounds,
|
||||
{weight: 1, color: "#FF9500", opacity: 1, fillColor: "#FFFFBF", fillOpacity: 0});
|
||||
{weight: 2, color: "#FF9500", opacity: 1, fillColor: "#FFFFBF", fillOpacity: 0});
|
||||
rect.id = changeset.id;
|
||||
rect.addTo(group);
|
||||
}
|
||||
|
|
|
@ -178,10 +178,11 @@ L.OSM.Map = L.Map.extend({
|
|||
};
|
||||
|
||||
var changesetStyle = {
|
||||
weight: 1,
|
||||
weight: 4,
|
||||
color: '#FF9500',
|
||||
opacity: 1,
|
||||
fillOpacity: 0
|
||||
fillOpacity: 0,
|
||||
clickable: false
|
||||
};
|
||||
|
||||
this._object = object;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue