Created
September 18, 2014 18:02
-
-
Save shaunakv1/3e5d834ceb1cba0d4878 to your computer and use it in GitHub Desktop.
angular-leaflet-directive multiple Geo json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leafletData.getMap().then(function(map) { | |
theMap = map; | |
highlightTrackGeoJson = L.geoJson(highlightTrack, { | |
style: function (feature) { | |
return { | |
weight: 12, | |
opacity: 1, | |
color: "#ffffff" | |
}; | |
} | |
}).addTo(map); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment