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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_geojson_layer"
}
}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 |