Adding annotations to Plotly Scatter Map
<p>I am having trouble adding annotations to my plotly scattergeo map. I am using a pandas dataframe as my datasource with columns Lat, Long, and the text is the index. My resulting annotations parameter nested under the layout parameter looks like:</p>

<pre><code>[dict(x= d[1]['Lat'], y= d[1]['Long'], text= d[0]) for d in df.iterrows()]
</code></pre>

<p>Conversely, I can just use a single annotation using one row (or even hard-coding values for test purposes). It seems the x,y placement is using the chart grid instead of the map grid to place the annotation. Is there a parameter to fix that or do I need to adjust the chart grid itself? Thank you in advance.</p>

<p>Edit: Here is an example. I wanted the annotations to be beside each bubble by passing the Lat/Long coordinates as the x,y variables of the annotation.</p>

<p><a href="https://i.stack.imgur.com/lbDE5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lbDE5.png" alt="plotly map example"></a></p>