Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Map tracker fields

Re: Map tracker fields

I think I understand a little bit more now but it still isn't enough to get the overlays displaying as per the example.

This what I have done:

Created a tracker with these fields of type "checkbox": publishPOISeparately, publishBoundaryZoneSeparately

I created an entry in the tracker and set both fields to "yes".

Unfortunately I could not create the name field as there doesn't seem to be a type of "name" any more...?

I am then using this to generate the map and hopefully what will be a boundary and pointer for the location:

Copy to clipboard

(scope="center" controls="controls,layers,levels,navigation,scale,coordinates,search_location" width="630" height="500" center="x,y,z" popupstyle="bubble" tooltips="y")}
{searchlayer geo_located="y" tracker_field_Name="y" maxRecords=100 tracker_id="3" load_delay="2" type="trackeritem" tracker_field_publishPOISeparately="yes"}
{searchlayer geo_located="y" tracker_field_Name="y" maxRecords=100 tracker_id="3" load_delay="3" type="trackeritem" tracker_field_publishBoundaryZoneSeparately="yes"}

Copy to clipboard

...I am just using xyz here as example coordinates, though I have longitude,latitude and zoom levels set correctly.

The result is just a plain map??

This part of guide is a little confusing:

Boundaries: A name field, a files field (option index as maplayer GeoJSON) and a yes/no field (so the plugin know you want it displayed)
POI (Point Of Interest): A name field, an icon, a field a location field and a yes/no field (so the plugin know you want it displayed)
Path: A name field, a files field (option index as maplayer GeoJSON) and a yes/no field (so the plugin know you want it displayed)


Does this mean that I have to create different tracker items of same name, eg. "publishBoundaryZoneSeparately" but of different type?

So something like:

publishBoundaryZoneSeparately - type 'name'
publishBoundaryZoneSeparately - type 'files'
publishBoundaryZoneSeparately - 'checkbox'