A Python package for geospatial analysis and interactive mapping in a Jupyter environment.
{
"context": "Evaluates whether the solution uses leafmap to build selectable widget and HTML map backends with consistent overlays, controls, and export. Focus is on correct leafmap classes, built-in controls, and GeoJSON handling rather than general coding style.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Widget backend",
"description": "Uses leafmap.Map for the widget backend, initializes center/zoom through the constructor or set_center, and relies on leafmap add_basemap/add_layer_control instead of manual tile setup.",
"max_score": 20
},
{
"name": "HTML backend",
"description": "Uses leafmap.foliumap.Map (or equivalent leafmap HTML helper) when the HTML backend is requested, with center/zoom applied via the leafmap API rather than raw folium primitives.",
"max_score": 15
},
{
"name": "GeoJSON overlay",
"description": "Loads overlays with leafmap add_geojson or view_vector on both backends, applying style parameters and a tooltip/popup field through the leafmap API instead of manual parsing.",
"max_score": 20
},
{
"name": "Interactive controls",
"description": "Adds drawing and measurement tools using leafmap add_draw_control and add_measure_control, and includes a place search box with a custom placeholder via add_search_control (or folium-specific geocoding control) on each backend.",
"max_score": 25
},
{
"name": "HTML export",
"description": "Exports the map (with overlays and user drawings) using leafmap to_html/save helpers appropriate to each backend rather than hand-written HTML, ensuring exported output preserves controls and layers.",
"max_score": 20
}
]
}tessl i tessl/pypi-leafmap@0.52.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10