export_interactive_map
Transform hazard results into a standalone interactive HTML map with clickable vector layers, attribute popups, and 3D perspective.
Instructions
Generate a standalone interactive MapLibre GL JS HTML application from hazard results. Bridges eo-mcp planetary analytics with rich client-side GIS visualization (compatible with GeoLibre).
Features:
Dark titanium glassmorphic UI overlay
Interactive vector layers (points, polygons, lines) with attribute inspection popups
3D perspective pitch toggle and responsive bounding box fitting
Args: title: Title of the map application (e.g. 'Valencia Flood Inundation Assessment'). bbox: Bounding box [min_lon, min_lat, max_lon, max_lat] in WGS84. geojson: Optional GeoJSON FeatureCollection string (from any eo-mcp hazard tool). hazard_type: Optional hazard descriptor ('flood', 'wildfire', 'vessels', 'erosion', 'opera'). output_html_path: Optional file path to save HTML directly to disk.
Returns: Confirmation JSON with file path and status, or HTML content preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| title | Yes | ||
| geojson | No | ||
| hazard_type | No | ||
| output_html_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |