A simple Python library for creating interactive maps with markers, circles, and custom icons
Project description
MapConfig
MapConfig is a simple, lightweight Python library for creating beautiful interactive maps using only place names (for example, "New Delhi", "Paris", "Tokyo") without needing to know coordinates.
It uses OpenStreetMap's Nominatim API to fetch coordinates and Folium to render maps.
⭐ Features
- 🔥 Add simple markers with just a place name
- 📍 Add circles to highlight areas
- 🖼️ Add custom icon markers
- 💨 Automatically center and display in the browser (no saving needed)
- 🌐 Show directly in a popup browser tab or export as HTML
- add paths between two places
more coming soon ..
🚀 Example
from mapconfig import GeoMap
m = GeoMap()
m.add_marker("New Delhi", popup="Capital City")
m.add_circle("Hyderabad", radius=10000, color="green", popup="Cyber Hub")
m.add_custom_icon_marker("Chennai", icon_url="https://cdn-icons-png.flaticon.com/512/684/684908.png", popup="Beach City")
m.show()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mapconfig-1.0.1.tar.gz.
File metadata
- Download URL: mapconfig-1.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4c9079f52c481d500d1604f26fd4fd086d1bfc3d5033145e31d0084926c3763
|
|
| MD5 |
9676dd7e213280b8b5094a3fd373343e
|
|
| BLAKE2b-256 |
44dfb6e23e8049d82ff8ffe1a8774a75c49508a27eb522c55bf0ec71d57f8ed2
|
File details
Details for the file mapconfig-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mapconfig-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a95ceb90c6eca4a3d450186d97c8e5bcd33325e3a75e79be48ab01c15e4e2d3d
|
|
| MD5 |
7b11c55f5297f229bc713ba5e4c320dc
|
|
| BLAKE2b-256 |
8322e6b083420f095fb3700e16a401ffeb366686665c77512a8fa5a41679690d
|