import gmaps
import gmaps.datasets
gmaps.configure(api_key="AI...") # Your Google API key
locations = gmaps.datasets.load_dataset("starbucks_uk")
fig = gmaps.Map()
starbucks_layer = gmaps.symbol_layer(
locations, fill_color="green", stroke_color="green", scale=2)
fig.add_layer(starbucks_layer)
fig
I am currently trying to load this in my jupyter notebook, however the map will not display
Any help on this would be appreciated!
jupyter nbextension enable --py --sys-prefix gmaps
. More info.pip install gmaps
on your shell.