Changeset border turns blue on hover
This commit is contained in:
parent
c77429000c
commit
aae0d3b7b5
1 changed files with 2 additions and 2 deletions
|
@ -38,12 +38,12 @@ OSM.History = function(map) {
|
|||
};
|
||||
|
||||
function highlightChangeset(id) {
|
||||
group.getLayer(id).setStyle({fillOpacity: 0.3});
|
||||
group.getLayer(id).setStyle({fillOpacity: 0.3, color: "#0095AA"});
|
||||
$("#changeset_" + id).addClass("selected");
|
||||
}
|
||||
|
||||
function unHighlightChangeset(id) {
|
||||
group.getLayer(id).setStyle({fillOpacity: 0});
|
||||
group.getLayer(id).setStyle({fillOpacity: 0, color: "#FF9500"});
|
||||
$("#changeset_" + id).removeClass("selected");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue