};
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");
}
url: window.location.pathname,
method: "GET",
data: data,
- success: function(html, status, xhr) {
+ success: function(html) {
$('#sidebar_content .changesets').html(html);
updateMap();
}