mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-11 18:50:28 +00:00
b1cd1306ef
* Allow width, height and maxZoom to be specified * Add images to city marker tiddlers * Initial support for custom popups * Custom popup templates for the US and Canadian example data * Popups should use the geomap as their parent widget This lets root widget messages work * Typo in default popup template * Clean up the use of popup templates * Allow GeoJSON features to be hidden via a checkbox * Popup template for volcano dataset * Add Natural Earth country data * Optimise marker SVG
33 lines
697 B
Plaintext
33 lines
697 B
Plaintext
title: $:/geospatialdemo/features/natural-earth-countries-low-res/popupTemplate
|
|
|
|
!!! Countries of the World from Natural Earth
|
|
|
|
''<$text text={{{ [<feature>jsonget[properties],[name_en]] }}}/>'' (<$text text={{{ [<feature>jsonget[properties],[formal_en]] }}}/>)
|
|
|
|
<div style=`height: 10em; overflow: scroll;`>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
Field
|
|
</th>
|
|
<th>
|
|
Value
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<$list filter="[<feature>jsonindexes[properties]]">
|
|
<tr>
|
|
<td>
|
|
<$text text=<<currentTiddler>>/>
|
|
</td>
|
|
<td>
|
|
<$text text={{{ [<feature>jsonget[properties],<currentTiddler>] }}}/>
|
|
</td>
|
|
</tr>
|
|
</$list>
|
|
</tbody>
|
|
</table>
|
|
</div>
|