Loading...
 
Features / Usability

Features / Usability


Display Tracker Location Parameter on Map

posts: 27 United States

Tikiwiki 10: I want to display all the Locations (Field #4 in this case) within a given Tracker (#2 in this case) on a Map. It is being done for Groups here:

http://tiki.org/Developers+map+with+50+developers

Any input would be great!

posts: 92
I am also very interested in an answer to this question. Alas, it wasn't answered in the past year. Hope springs eternal...
posts: 92
P.S. I am reading the documentation for Map, but I don't understand it. I'm not sure how to fill in the "body of plugin", which is the "Instructions to load content".
posts: 92

Thank you very much for the quick reply.

I could not get the examples to work for me, and I was about to ask for more help. But then I found errors in my data. Now it seems to be working, and I'm excited to start using this.

I was getting no icons at all. Then I found one item had invalid data in a text area field. I did not see this initially because that field is not displayed in my use of the trackerlist plugin, or when viewing all items in tiki-view_tracker.php. When I deleted this item, I then only got 1 out of 6 items displayed.

I deleted the 5 that were not displayed and added one new one. Both were displayed.

I'm not to concerned about why the other 5 were not displayed. It is not much data to recreate. As long as the new ones I enter work fine, I'm happy.

Thanks again.

posts: 92

I've used this to create my page, and I've met mostly with success.

After about 25 entries they stop appearing on the map right away. I've yet to figure out what makes them finally appear, and some have not shown up yet at all, after 6+ hours.

Clearing the browser cache does not make them appear immediately, nor does clearing the tiki cache, refreshing the browser window, or restarting the browser.

I've tried with Firefox 26.0 and IE (8, I think - that was in the office and I'm not there now). My tiki is 12.1.

Can you tell me what would explain the delay.

My page is http://www.hrsms.org/home/Museums

Thanks.


posts: 92

If I use pluginMap I still see inconsistent results regarding which items are displayed and which are not. Processing time limit?

If I use the showMap option in pluginTrackerfilter then I get all the results, but I lose the larger size and the better controls. It is much harder to use.

And now, as of two days ago, the map is completely blank in both cases. I don't believe I've made any changes since the last known working state. How do I track down the cause of this? I tried clearing the cache.

http://www.hrsms.org/home/Museums

posts: 92

The blank map was caused by adding the Share plugin at the top of the page. I'll file a bug report later today.

I'm still very interested to know why the map plugin does not show all results but the "ShowMap" option in plugin trackerfilter does.

posts: 92

To get all the items shown on the map, I needed to add maxRecords and give a number larger than my expected number of items. I tried -1 for all, but that resulted in just one item being shown on the map.

Copy to clipboard
{searchlayer geo_located="y" tracker_id="1" type="trackeritem" maxRecords="2000"}


The documentation states:

Copy to clipboard
maxRecords indicates how many results will be taken from the query. The map will only display the first page of results, so giving a reasonable value to this will make sure errors in a query won't take down your server and still the results you need to be displayed.


When do you need less than all of the results?


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting