Mapas Interactivos con Folium

import folium

popuptext = '<b>Palacio de Gobierno</b>'

my_map = folium.Map(location=[-12.04457278278882, -77.02980796091582],zoom_start=16)

folium.Circle(location=[-12.04457278278882, -77.02980796091582],color="purple",fill_color="red",
radius=20,fill_opacity=0.5,weight=5).add_to(my_map)
## <folium.vector_layers.Circle object at 0x000000003E8FBB80>
folium.Marker(location=[-12.04457278278882, -77.02980796091582],popup=popuptext,
tooltip='La Casa de Pizarro').add_to(my_map)
## <folium.map.Marker object at 0x000000003E96C9A0>
my_map
Make this Notebook Trusted to load map: File -> Trust Notebook

Configuración Popup

import folium

my_map = folium.Map(location=[-12.04457278278882, -77.02980796091582],zoom_start=16)

html = '''<b>Lugar:</b>Palacio de Gobierbo<br>
          <b>Latitud:</b>-12.04457278278882<br>
          <b>Longitud:</b>-77.02980796091582 '''

iframe= folium.IFrame(html,width=200,height=100)

popup = folium.Popup(iframe,max_width=500)

circle = folium.Circle(location=[-12.04457278278882, -77.02980796091582],color="purple",
fill_color="red",fill_opacity=0.5,weight=4).add_to(my_map)

marker = folium.Marker(location=[-12.04457278278882, -77.02980796091582],popup=popup,icon=folium.Icon(color="purple")).add_to(my_map)

my_map
Make this Notebook Trusted to load map: File -> Trust Notebook