https://github.com/enhuiz/lmap
https://github.com/enhuiz/lmap
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/enhuiz/lmap
- Owner: enhuiz
- Created: 2020-07-16T13:41:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T11:48:09.000Z (almost 5 years ago)
- Last Synced: 2025-01-07T18:29:04.143Z (5 months ago)
- Language: HTML
- Size: 298 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LMap: A Map Marker Tool based on Amap
## Installation
```
pip install git+https://github.com/enhuiz/LMap
```## Example
```python
from lmap import LMaplmap = LMap("My Markers")
lmap.add_marker(
name="HKUST",
long=114.268,
lat=22.332,
content="Details",
)
lmap.render("index.html")
```Open the index.html, you will get:

## Credits
1. https://blog.csdn.net/Bameirilyo/article/details/83864222
2. https://lbs.amap.com/api/javascript-api/summary/