Template:MapframeForObjects
This template uses Lua: |
Because of this bug in Extension:Kartographer it is not possible to have automatic lat-lon and automatic zoom for objects that have type=line or type=shape via the standard Module:Mapframe and Template:Maplink.
Update - bug T227402 was partially fixed in Module:Mapframe when feature data are being loaded from Wikidata (this module edit), but when using "raw" parameter with custom KML the bug is still present in Template:Maplink.
List of bugs that affect performance of this template and also performance of Template:Maplink (these templates behave similarly):
- T229800 - Map thumbnail does not show sometimes
Usage
This template is meant to be used for all map object types other than point (for example type=line or type=shape) and is especially meant for using the automatic map positioning and automatic map zoom. For these auto-features to work properly do not specify following template parameters:
- frame-lat or frame-latitude
- frame-long or frame-longitude
- zoom
For other parameters the usage is same as in Template:Maplink - please see its help.
The above documentation is transcluded from Template:MapframeForObjects/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |