Skip to main content

Posts

Showing posts with the label Generate MAP in Python

Generate MAP in Python

Sharing Video and scripts use the coordinates for New Delhi, India and will display a map centered in India. You can use the Visual Studio version to generate an HTML file, and the Jupyter Notebook version for inline map rendering.  I personally Prefer Visual Studio for PYTHON code or data analysis hence sharing both codes for your reference   i used this in my visual studio and below is snip for your reference adding a code so you can run in your system  # code by discover talent presents import folium # Correct map center at the specified coordinates (New Delhi, India) map_center = (28.6139, 77.2090) # Create the map object mymap = folium.Map(location=map_center, zoom_start=12) # Add a marker at New Delhi, India folium.Marker(     [28.6139, 77.2090],     popup="India",     icon=folium.Icon(color="blue", icon="info-sign")  ).add_to(mymap) # Save the map to an HTML file mymap.save("mymap.html") # Inform the user that the map has be...