An open API service indexing awesome lists of open source software.

https://github.com/enhuiz/lmap


https://github.com/enhuiz/lmap

Last synced: 3 months ago
JSON representation

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 LMap

lmap = 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:

![](img/2020-07-16-21-38-43.png)

## Credits

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