Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Bazin
nf26-metar
Commits
248fecd3
Commit
248fecd3
authored
Jun 22, 2019
by
Oscar Roisin
Browse files
add map with station names only
parent
b7d2a143
Changes
1
Hide whitespace changes
Inline
Side-by-side
map.py
0 → 100644
View file @
248fecd3
import
folium
map_osm
=
folium
.
Map
(
location
=
[
48.85
,
2.34
])
for
ind
,
lat
,
lon
,
com
in
df
[[
'lat'
,
'long'
,
'Nom commune'
]][:
50
].
itertuples
():
map_osm
.
add_child
(
folium
.
RegularPolygonMarker
(
location
=
[
lat
,
lon
],
popup
=
com
,
fill_color
=
'#132b5e'
,
radius
=
5
))
map_osm
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment