How to create a satellite style map using Plotly and Pandas?

Plotly gives an example of how to create a scattered dots map here:

https://plot.ly/pandas/scatter-plots-on-maps/

This example uses the Atlas style. There is a link to edit the chart on the example page, which will open the Plotly user interface. Here I can select "Satellite Map" which will create the same map but with more detailed information. Does anyone know if there is a way to specify the map type as "Satellite" in the code itself?

I have searched the reference documentation ( https://plot.ly/python/reference ) but could not find information on this setting.

+3


source to share


1 answer


Open the North American precipitation map in edit mode, you will see the following map:

enter image description here

Then select the satellite map instead of the Atlas map.

Left menu: Style → Layout → Map Style Then you can select options such as street, light, dark, satellites or satellites with streets. The street style is selected in the following map. Hope this helps!



enter image description here

Visit my github repository: https://github.com/SayaliSonawane/Plotly_Offline_Python/tree/master/Satellite%20Map

I have added one tutorial that explains how to create this type of plot in Python.

+1


source







All Articles