Geolocation: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
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)     | 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}}  | {{#visualdataprint:{{FULLPAGENAME}}  | ||
|schema=Geolocation  | |schema=Geolocation  | ||
| jsondata | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{  | {  | ||
	"schemas": {  | |||
		"Geolocation": {  | |||
			"geolocation": {  | |||
				"latitude": 48.184861824159,  | |||
				"longitude": 16.419907521709,  | |||
				"zoom": 15.856539812289  | |||
			}  | |||
		}  | |||
	}  | |||
}  | }  | ||
Latest revision as of 20:06, 26 January 2025
This page demonstrates the use of VisualData/Geolocation in conjunction with the Extension:Maps. (click the tab "Edit data" above to edit the related form)
It is composed by the following elements:
1) the schema Geolocation, which is of course createable/editable from here or here.
2) The data entered in the same action tab Edit data
3) The following parser function
{{#visualdataprint:{{FULLPAGENAME}}
|schema=Geolocation
|template=Geolocation map
|format=template
}}
The template Template:Geolocation map containing the call to the display_map parser function in the following form:
{{#display_map: {{{geolocation/latitude}}},{{{geolocation/longitude}}} 
|zoom= {{#expr: {{{geolocation/zoom}}} round 0 }}
|width=400
}}
4) That's it, enjoy the power of Maptiler combined with VisualData and the Maps extension.
See also
- Demo VisualData 1.0
 - New task
 - Page upload
 - CRUD
 - Result formats
 - Dependent values
 - Geolocation
 - Queries
 - Query cities (join queries)
 - Dynamic catalogue
 - Datatable cards
 - Calendar
 - Carousel
 - Nested schemas
 - Table mode
 - Lua
 - Official docs
 
support & questions: support at topway.it