Geolocation | |
Click to expand
|
Admin panel | |
Options shown in Settings section
|
1.1. Requirements | |
In order to have this feature properly working, you are encouraged to enable the following: For tiki versions older than 14.0:
(Make sure that the Preference Filter is set to advanced and/or experimental) |
1.2. Geolocate wiki pages | |
Then edit some Wiki pages (1), go to the properties tab (2), and place a marker for the position in the map you want to set for each page. You can click at "Search location" (3), add some address (4) and click at OK (5): Click to expand
Click to expand
{map}
{map} {LIST()} {filter type="wiki page"} {filter content="y" field=geo_located} {LIST}
Click to expand
{map} {LIST()} {filter type="wiki page"} {filter content="Geolocation" field=object_id} {filter content="y" field=geo_located} {LIST}
hide location field when location is not set {JQ()} var map = $('input[name="location"]').val(); if (map == "0,0,2") { $('#openlayers1').hide(); } {JQ}
|
1.3. Geolocate blog posts or articles | |
You must enable the setting in "Admin home > Maps", and this will show a new field in the blog or article edit screen in which you will be able to indicate the position associated with that publication. Later on, you can display a map displaying only those geolocated items, or in conjunction with other geolocated items in your site. See profile "Easy GeoBlog" as a working example.
|
1.4. Geolocate tracker items | |
Simple example: {MAP(scope="center" controls="controls,search_location,scale,navigation" width="800" height="400" center="2.1421963549255145,41.381029526482095,7")} {searchlayer geo_located="y" maxRecords=100 tracker_id="1" type="trackeritem"} {MAP}
Alias names for this page
Geolocation of wiki pages | Geolocalization | Geolocate | GIS |