Created
April 21, 2020 12:04
-
-
Save abhishek-shrm/a3425f9df754360c47a0af9aafdef49f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creating Basemap | |
fig3=Figure(width=550,height=350) | |
m3=folium.Map(location=[28.644800, 77.216721],tiles='cartodbpositron',zoom_start=11) | |
fig3.add_child(m3) | |
#Adding markers to the map | |
folium.Marker(location=[28.695800, 77.244721],popup='Default popup Marker1',tooltip='Click here to see Popup').add_to(m3) | |
folium.Marker(location=[28.645800, 77.214721],popup='<strong>Marker3</strong>',tooltip='<strong>Click here to see Popup</strong>').add_to(m3) | |
folium.Marker(location=[28.655800, 77.274721],popup='<h3 style="color:green;">Marker2</h3>',tooltip='<strong>Click here to see Popup</strong>').add_to(m3) | |
m3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment