create_geojson_layer
Generate code to load and display GeoJSON data on a Leaflet map with custom styling and interactive features.
Instructions
Generate code for loading and displaying GeoJSON data on a Leaflet map with custom styling and interactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataSource | No | Source of GeoJSON data | |
| includeExample | No | Include example GeoJSON data | |
| style | No | Default style for GeoJSON features | |
| onEachFeature | No | Include onEachFeature handler example | |
| filter | No | Include filter function example |