Actions

Widget

Difference between revisions of "POI"

From Dragon Eye Atlas

(Created page with "<noinclude> == Focus on a Point-of-Interest === Parameters === * name (for the clickable link) * lon, lat, zoom - longitude, latitude and zoom </noinclude> <includeonly> <scr...")
 
Line 7: Line 7:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<script>
<span style="font-weight: bold" onClick="map.panTo([<!--{$lon|validate:float|default:1}-->, <!--{$lat|validate:float|default:30}-->]); map.zoomTo(<!--{$zoom|validate:float|default:4}-->);"><!--{$name|escape:'html'|default:name}--></span>
map.panTo([<!--{$lon|validate:float|default:1}-->, <!--{$lat|validate:float|default:30}-->]);
map.zoomTo(<!--{$zoom|validate:float|default:4}-->);
</script>
</script>
</includeonly>
</includeonly>

Revision as of 23:40, 2 October 2019

== Focus on a Point-of-Interest

Parameters

  • name (for the clickable link)
  • lon, lat, zoom - longitude, latitude and zoom