Skip to content

Instantly share code, notes, and snippets.

@gwintrob
Created December 3, 2015 06:03
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 gwintrob/fb338ff40d037d023356 to your computer and use it in GitHub Desktop.
Save gwintrob/fb338ff40d037d023356 to your computer and use it in GitHub Desktop.
geojson
d3.json('geojsoncounties.json', function (err, counties) {
var countyLayer = L.geoJson(counties, {
weight: 5,
color: '#000',
dashArray: '',
fillOpacity: 0.7
});
map.addLayer(countyLayer);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment