Demo VisualData 1.0
/ Geolocation
Editing
Demo VisualData/Geolocation
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This page demonstrates the use of [https://www.mediawiki.org/wiki/Extension:VisualData/Geolocation VisualData/Geolocation] in conjunction with the [https://www.mediawiki.org/wiki/Extension:Maps Extension:Maps]. (click the tab "Edit data" above to edit the related form) {{#visualdataprint:{{FULLPAGENAME}} |schema=Geolocation |template=Geolocation map |format=template }} It is composed by the following elements: 1) the schema [[VisualDataSchema:Geolocation|Geolocation]], which is of course createable/editable from [https://wikisphere.org/w/index.php?title=Demo_VisualData/Geolocation&action=editdata here] or [https://wikisphere.org/wiki/Special:ManageSchemas here]. 2) The data entered in the same action tab [https://wikisphere.org/w/index.php?title=Demo_VisualData/Geolocation&action=editdata Edit data] 3) The following parser function <pre> {{#visualdataprint:{{FULLPAGENAME}} |schema=Geolocation |template=Geolocation map |format=template }} </pre> The template [[Template:Geolocation map]] containing the call to the [https://maps.extension.wiki/wiki/Display_map_function display_map] parser function in the following form: <pre> {{#display_map: {{{geolocation/latitude}}},{{{geolocation/longitude}}} |zoom= {{#expr: {{{geolocation/zoom}}} round 0 }} |width=400 }} </pre> <!-- Note that the printouts <code>geolocation/latitude</code>, <code>geolocation/longitude</code> and <code>geolocation/zoom</code> (visible [https://wikisphere.org/wiki/Demo_VisualData/Geolocation?slot=jsondata here]) are accessible through the only property name since the template is applied within the subitem <code>geolocation</code> through the following parameter: <pre> |template?geolocation=Geolocation map </pre> --> 4) That's it, enjoy the power of [https://www.maptiler.com/ Maptiler] combined with [https://www.mediawiki.org/wiki/Extension:VisualData VisualData] and the [https://www.mediawiki.org/wiki/Extension:Maps Maps] extension. == See also == {{Demo VisualData footer}}
Summary:
Please note that all contributions to Wikisphere may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wikisphere:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Demo VisualData footer
(
edit
)
Template:Geolocation map
(
edit
)
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Data
Discussion
English
Views
Read
Edit
Edit source
Edit data
View history
More
Delete
Move
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Browse subpages
VisualData
New article
Browse data
Subpage navigation
Browse subpages