Hello all
I have successfully created a map which shows the tracks of various trips I have made over the last few years in my campervan. The data for each track is to be found in a separate tiddler, tagged ‘Trips’.
<$list filter="[tag[Trips]]">
<$checkbox tag="selected" > {{!!title}} <br></$checkbox>
</$list>
<$geomap
state=<<qualify "$:/state/trips-map">>
startPosition="bounds">
<$list filter="[tag[selected]]">
<$geolayer json={{!!text}} color={{!!color}} popupTemplate="ui/PopupTemplateTracks"/>
</$geomap>
I want be able to click in any track on the map and have the popup window show the caption field of the particular data tiddler.
I have tried the following code
<div width="300px">
<$let currentTiddler="MyFirstTrip">
<$text text={{{ [<currentTiddler>get[caption]] }}}/>
</$let>
</div>
and this works for MyFirstTrip but I need to modify this code so that it each popup shows the appropriate caption.
Please can anyone help because I am stumped!!
Cheers, Rob

