Leaflet - GeoJSON

This example demostrates the use of a Leaflet.js map consuming and interacting with GeoJSON data. Zoom in and out in the state of Colorado to see different features appear, such as county lines and points of interest markers.
100 km
100 mi
Leaflet | © OpenStreetMap contributors
Legend
  County Marker
  State Line
  County Line
Points of Interest
  Automotive
  Eating&Drinking
  Government and Public Services
  Health care
  Leisure
  Lodging
  Night Life and Business
  Sports
  Tourism

This example demonstrates the following features:

NOTE: This example implements the use of turf.js for finding the center of a county polygon. A very nice library for geospatial analysis!