Scatter plot on map from shapefile

Hello,

I have a detailed shapefile with which to create a map. I seem to be able to use it with plotly, but I am still failing to draw simple points on the created map.
Scattergeo creates an area with the points in it somehow, the area then being created on top of the map I got to create with the shapefile.

Am I missing something here?Any simpler way to get the level of detail of a shapefile in plotly?

Thanks again!

Cheers,

Alessandro

Dear aleusai,
I succeed to plot scattergeo on Italy. But the point is that I used world map, so the provine borders are not clear.
I can help you if you publish your code. But as example I used:

dcc.Graph(
id=‘mpg_scatter’,
figure={
‘data’: [go.Scattergeo(
lon = dfs[dfs[‘Earthquake Zone’]==int(ez)].Longitude,
lat = dfs[dfs[‘Earthquake Zone’]==int(ez)].Latitude,
text = dfs[dfs[‘Earthquake Zone’]==int(ez)][‘Codice_Unico’],
marker_color=cc[int(ez)],
marker_size=8
)],
‘layout’: go.Layout(
title = ‘Hotel Locations based on Earthquake Zones’,
hovermode=‘closest’,
showlegend = False,
height=1000,
width=1000,
plot_bgcolor= colors[‘background’],
paper_bgcolor= colors[‘background’],
font= {
‘color’: colors[‘text’]
},
geo = dict(
scope=‘europe’,
resolution = 50,
countrycolor = ‘blue’,
landcolor=“#DDDDDD”,
lonaxis_range= [ 6.6, 18.4 ],
lataxis_range= [35.47, 47.25],
showland=True,
)
)
})

I have problem to plot shape file in plotly. can you tell me how did you insert the shapefile in plotly?