fix geojson example for IE

This commit is contained in:
Vladimir Agafonkin 2012-08-08 12:18:05 +03:00
parent fe9516579e
commit 6e5b37c36b

View File

@ -103,13 +103,17 @@
function highlightFeature(e) { function highlightFeature(e) {
var layer = e.target; var layer = e.target;
layer.bringToFront().setStyle({ layer.setStyle({
weight: 5, weight: 5,
color: '#666', color: '#666',
dashArray: '', dashArray: '',
fillOpacity: 0.7 fillOpacity: 0.7
}); });
if (!L.Browser.ie) {
layer.bringToFront();
}
info.update(layer.feature.properties); info.update(layer.feature.properties);
} }