Skip to content

Instantly share code, notes, and snippets.

@jqtrde
Last active August 29, 2015 14:00
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 jqtrde/11143792 to your computer and use it in GitHub Desktop.
Save jqtrde/11143792 to your computer and use it in GitHub Desktop.
// define the feature
var geojsonFeature = {
"type": "Feature",
"properties": {
"name": "Null Island
},
"geometry": {
"type": "Point",
"coordinates": [0, 0]
}
};
// use the .geojson method to add it to your map
L.geojson(geojsonFeature).addTo(map);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment