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) {
var layer = e.target;
layer.bringToFront().setStyle({
layer.setStyle({
weight: 5,
color: '#666',
dashArray: '',
fillOpacity: 0.7
});
if (!L.Browser.ie) {
layer.bringToFront();
}
info.update(layer.feature.properties);
}