ထႅမ်းပလဵတ်ႉ:Toggle dive maps/doc
Appearance
ဢၼ်ၼႆႉ မၼ်းပဵၼ် ၽိုၼ်လိၵ်ႈၽႄ တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Toggle dive maps။ မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈ ပွတ်းတွၼ်ႈ ၶွင်ငဝ်ႈတိုၼ်း ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ။ |
This template is used to display dual maps at the same place in on a page. A static map of dive regions or sites and a toggling interactive map showing points of interest Use of this template is as follows:
{{Toggle dive maps | regionmap=The name of the region map.file type (Required) | regionmaptext=Text to display under the map image. (Optional. Defaults to "Map of the dive sites at {{SUBPAGENAME}}" if not passed) | regionmapsize=The size of the map in px. (Optional> Defaults to 350px if not passed) | regionInteractiveMap=map1 (Required. No point in using the template if this is not given. Must be different for each static/interactive map toggle set on the page) }}
The regionInteractiveMap parameter will activate a dynamic map behind the static map, and provide a link to switch between the maps. If there are mapshapes to display in the dynamic map, they will need to have the "group=map1" parameter added.
Example:
{{mapshape|type=geoshape|fill=#dcb8b8|wikidata=Q14925052|group=map1}}
Some things to note:
- The static and dynamic maps will have identical dimensions so the layout of the article is not affected.
- The center and the zoom of the map will be autoset according to the POI shown in the map.
- To set a dynamic map for a second static map on the same page, it's necessary to specify a different value in the regionInteractiveMap parameter (e.g. map2) and match it to group parameter in the {{mapshape}}.
Optional parameters
[မႄးထတ်း]To center the map at a different point or to apply a different zoom level, use the following optional parameters.
| regionmapLat=Center latitude (decimal degrees) | regionmapLong=Center longitude (decimal degrees) | regionmapZoom=Map zoom level (Defaults to auto)
Full template:
{{Toggle dive maps | regionmap= | regionmaptext= | regionmapsize= | regionInteractiveMap=map1 | regionmapLat= | regionmapLong= | regionmapZoom= }}