Problem displaying a geomap in a modal

Hello

I want to display a tiddler containing a geomap generated using the Geospatial plugin in a modal; however, it is not displaying correctly

This is a screen shot of the modal tiddler

and this is the modal

I would appreciate any advice about how to make the modal display the tiddler correctly.

Cheers, Rob

One clue I notice is that the modal map is displaying a very different area of the globe at what looks like “zoom=1”. This suggests that when viewing in a modal, the $geomap widget is not reading values from the associated state tiddler.

Please provide the definition of “Trip map 1” so we can see the actual Geospatial widget syntax you are using to render your map.

-e

Hi @EricShulman

<$list filter=“[tag[trip-track]]”>
<$let date={{{ [{!!title}removesuffix[-track]]}}}>
<$checkbox tag=“selected” > <$text text={{{[addsuffix[ ]addsuffix{!!caption}]}}}/>
</$checkbox>
</$let>
</$list>

<$geomap
state=<<qualify “$:/state/trips-map”>>
startPosition=“bounds”>
<$list filter=“[tag[selected]]”>
<$geolayer json={{!!text}} color=“#ff0000” popupTemplate=“ui/PopupTemplateTracks”>
<$list>
</$geomap>

I hope that this might help

Cheers, Rob