Skip to content

Instantly share code, notes, and snippets.

@shaunakv1
Created September 18, 2014 18:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shaunakv1/3e5d834ceb1cba0d4878 to your computer and use it in GitHub Desktop.
Save shaunakv1/3e5d834ceb1cba0d4878 to your computer and use it in GitHub Desktop.
angular-leaflet-directive multiple Geo json
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