POI: Difference between revisions
From Dragon Eye Atlas
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<span | <style> | ||
.buildinglink { | |||
color: #0078a0; | |||
} | |||
.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> | |||
</script> | </script> | ||
</includeonly> | </includeonly> |
Revision as of 06:26, 3 October 2019
Focus on a Point-of-Interest
Parameters
- name (for the clickable link)
- lon, lat, zoom - longitude, latitude and zoom