Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattSidor/3716c0a7cb7ad8f43848 to your computer and use it in GitHub Desktop.
Save MattSidor/3716c0a7cb7ad8f43848 to your computer and use it in GitHub Desktop.
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