-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
I was able to run this same code using a heatmap layer instead of using a symbol but for some reason when I try to run it using a symbol it returns "module 'gmaps' has no attribute 'symbol'". I'm running this on a Jupyter Notebook and I have the latest version of gmaps which I installed using conda. I'm not sure what I've done wrong exactly (sorry if this is silly, I'm trying to learn coding for my new job).
import gmaps
gmaps.configure(api_key="***")
locations = [(42.5, 88.3), (40.3, 90.2)]
fig = gmaps.figure()
marker_layer = gmaps.symbol(
locations, fill_color="purple", stroke_color="purple",scale=5
)
fig.add_layer(marker_layer)
fig
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels