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...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Focus on a Point-of-Interest
== Focus on a Point-of-Interest ==
=== Parameters ===
=== Parameters ===
* name (for the clickable link)
* name (for the clickable link)
Line 7: Line 7:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<script>
<style>
map.panTo([<!--{$lon|validate:float|default:1}-->, <!--{$lat|validate:float|default:30}-->]);
.buildinglink {
map.zoomTo(<!--{$zoom|validate:float|default:4}-->);
color: #0078a0;
</script>
font-style: italic;
}
.buildinglink:hover {
cursor: pointer;
}
</style>
<span class="buildinglink" onClick="map.flyTo({center: [<!--{$lon|validate:float}-->, <!--{$lat|validate:float}-->], zoom: <!--{$zoom|validate:float}-->})"><!--{$name|escape:'html'|default:name}--></span>
</includeonly>
</includeonly>

Latest revision as of 18:25, 5 October 2019

Focus on a Point-of-Interest

Parameters

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