map view - lens listing appearance

13 views
Skip to first unread message

Nuno Zimas

unread,
Oct 21, 2014, 11:12:38 PM10/21/14
to eea-...@googlegroups.com
Forward: I have posted this issue to the Simile Exhibit Google group.
Unfortunately, the suggestion I have been given requires some tinkering with EEA DaViz.

When there is a marker with more than one data entry, an initial lens dialog shows up with a list of items.
How is that initial listing styled / configured?

What I am describing can be seen in the Billionaires example map view.

There are three entries plotted over Saudi Arabia, which are first listed and then one may access individual details by clicking on each name.
I know how to control the display of detailed info, but not the initial listing. 

Checked the rendered source code for clues, but did not find anything conclusive.

A fellow Exhibit user acknowledged that there is currently no "mechanism to configure the presentation of multiple items".

DaViz reads the values from the ID column and lists them unformatted in the first lens (the one holding multiple items).
Pretty sure there must be a way around this conundrum.

Nuno Zimas

unread,
Nov 26, 2014, 10:41:38 PM11/26/14
to eea-...@googlegroups.com
Excuse me for bumping the thread, but is there a viable way to style a lens / infowindow with aggregated values?
Can we at least override te default numeric label which is taken from the id column?

Thanks. 

Nuno Zimas

unread,
Nov 26, 2014, 11:25:16 PM11/26/14
to eea-...@googlegroups.com
I’ve just noticed in one of the video tutorials that the values in the name column (in the nobel prize winners list) are used on the timeline view, instead of te id values.
I presume the same trick is possible on the map view.


 
I have been looking into the data settings tab, but did not find any option to set a column as default label.

So, in the table below, how can make the values in the Inspection column display instead of the numerals in the first column?


--
You received this message because you are subscribed to a topic in the Google Groups "EEA Daviz" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eea-daviz/HHK78VcSBgA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eea-daviz+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alin Voinea

unread,
Nov 27, 2014, 4:26:39 AM11/27/14
to eea-...@googlegroups.com
AFAIK this is a Simile-Exhibit limitation and you should hard-code the label column with keyword "label", thus if you want Inspection to be your label, when you prepare your CSV/TSV data you can do this:

"Inspection:label" "Year:year" "Administration:text" "Latitude:lat" "Longitude:long"
"Education and Training Institutes" "2006" "Algeria" "28" "2"
"Education and Training Institutes" "2010" "Argentina" "-34.6" "-58.30"


or simply name it label and then you can give it a friendly-name TTW (Edit Visualizations > Data settings > label column > Rename)


To unsubscribe from this group and all its topics, send an email to eea-daviz+unsubscribe@googlegroups.com.

Nuno Zimas

unread,
Nov 27, 2014, 7:06:50 PM11/27/14
to eea-...@googlegroups.com
Thank you for the heads up.

Nevertheless, if I import data the way you suggested, the map view gets all messed up.
Values don’t add up, only one marker displays and the filters do not work.

My spreadsheet looks as follows:


DaViz imports it as you see below:



And the maps view is in complete disarray:



To unsubscribe from this group and all its topics, send an email to eea-daviz+...@googlegroups.com.

Alin Voinea

unread,
Nov 28, 2014, 3:53:48 AM11/28/14
to eea-...@googlegroups.com
Indeed, that's because the label should be unique. If you also add a tabular view you'll see what is happening. Seems that Simile Exhibit tries to join rows with the same label. So maybe your label should be the Administration column ;)

You received this message because you are subscribed to the Google Groups "EEA Daviz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eea-daviz+...@googlegroups.com.

Nuno Zimas

unread,
Nov 28, 2014, 7:51:16 AM11/28/14
to eea-...@googlegroups.com

But how do I prevent the ID column from being inserted as label?
Isn't the ID column added by Daviz?

Nuno Zimas

unread,
Nov 28, 2014, 12:28:26 PM11/28/14
to eea-...@googlegroups.com
Think I see what you mean.
There cannot be repeated values in the label column.
That being the case, the administration column won’t do it either, as there are multiple rows with the same values.

Looks like i will have to add another row which identifies the actual inspection.

Makes sense,

Cheers.


Alin Voinea

unread,
Nov 28, 2014, 12:38:55 PM11/28/14
to eea-...@googlegroups.com

Try it with Administration, I had some interesting results...

Reply all
Reply to author
Forward
0 new messages