Provide a interface to plotting data with Naver Maps with Python
Project description
navmplot
======
Plotting data on Naver Maps. Here's an example
::
from navmplot import navmplot
# Place map
mymap = NaverMapPlotter(36.0207091, 127.9204629, 3, 'YOUR_API_KEY')
# Polyline
path = [(37.75,35.42,35.57,36.30,35.80,38.70),
(125.4,128.56,128.34,125.9,128.2,127.9)]
path2 = [[i+.1 for i in path[0]], [i+.12 for i in path[1]]]
mymap.plot(path[0], path[1], "plum", edge_width=10)
mymap.plot(path2[0], path2[1], "red")
# Scatter points
mymap.scatter(path[0],path[1],size=40000)
# Marker
mymap.marker(37.75,125.5,title='mymarker')
# Draw
mymap.draw('mymap.html')
.. image:: https://i.imgur.com/RxuqiX4.jpg
-----
Inspired by `gmplot by Michael Woods <https://github.com/vgm64/gmplot>`_
======
Plotting data on Naver Maps. Here's an example
::
from navmplot import navmplot
# Place map
mymap = NaverMapPlotter(36.0207091, 127.9204629, 3, 'YOUR_API_KEY')
# Polyline
path = [(37.75,35.42,35.57,36.30,35.80,38.70),
(125.4,128.56,128.34,125.9,128.2,127.9)]
path2 = [[i+.1 for i in path[0]], [i+.12 for i in path[1]]]
mymap.plot(path[0], path[1], "plum", edge_width=10)
mymap.plot(path2[0], path2[1], "red")
# Scatter points
mymap.scatter(path[0],path[1],size=40000)
# Marker
mymap.marker(37.75,125.5,title='mymarker')
# Draw
mymap.draw('mymap.html')
.. image:: https://i.imgur.com/RxuqiX4.jpg
-----
Inspired by `gmplot by Michael Woods <https://github.com/vgm64/gmplot>`_
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
navmplot-0.2.1.tar.gz
(113.7 kB
view hashes)
Built Distributions
navmplot-0.2.1-py3-none-any.whl
(144.2 kB
view hashes)
navmplot-0.2.1-py2-none-any.whl
(143.4 kB
view hashes)