Hi,

I guess that's ultimately the issue - Exhibit is primarily a mode of
cutting out extraneous results, and the map interaction reflects that
paradigm.  I can see why the Google Map paradigm of maintaining the
option space while highlighting the target is appealing, but I suspect
the more general case of hovering on facets where several targets would
require highlighting wouldn't make for a good UI.

For your specific case, I guess you'll have to write some code.  Generally:

$("#city .exhibit-facet-value-link").bind("mouseover", function(evt) {
    var a = ""; // get your map view component map ID here; in Exhibit2,
                // this changes every time you reload the page; see
                // exhibit._componentMap
    var city = $(this).attr("title");
    var subject = exhibit.getDatabase().getSubject(city, "city");
    var marker = exhibit._componentMap[a]._itemIDToMarker[subject];
    google.maps.event.trigger(marker, "click");
});

In addition to filling in details on how to acquire "a" above, I suspect
you'll want to make some UI refinements.

On 2012-01-19 01:26 , laertis wrote:
> Thank you for your answer!
> 
> I am building a map exhibit of greek universities. You can see an
> example in http://ars-grammatica.gr/studymap/ .
> 
> The results are filtered from a tabbed section. Below the filters I
> have facet expression with filtered labels. When a user clicks on a
> label the  link shows only a marker in the map, instead of the
> bubbletip, as the google map works. The map also is neutralized. I
> understand that what I am trying to do is against the operation of
> facets...
> 
> What i am trying to do is to coordinate the facet with the map, as the
> timeline coordinates with  the map in presidents example, but the
> coordinators dont work that way.
> You can find an attached screeshot in http://screencast.com/t/Ipm2G7k2a0.
> with explainations, because the exhibit is in greek language. I am
> willing also to contribute in a greek translation though my bad
> english.
> 
> Thanks in advance.
> Chris
> 
> 
> Many thanks.
> 
> 
> On Jan 19, 2:39 am, Ryan Lee <[email protected]> wrote:
>> Interesting.  There isn't a built-in, though I can imagine a jQuery
>> event binding for hovering over facet values that could help provide it
>> for your case - you have an assumption that the facet value correlates
>> directly to one coordinate that seems pretty specific to your situation.
>>
>> Could you talk a little bit more about why you would want this when
>> clicking on the value would do something similar (subtract all other
>> markers from the map)?  I am curious about your use case.
>>
>> I wonder too if there's a good way to use coordinators with a map and
>> tile view, as opposed to a facet.
>>
>> On 2012-01-18 05:00 , laertis wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Hi,
>>> is it possible to:
>>> a) open a bubbble tip in mapviewer from an <div ex:role="facet"
>>> ex:expression=".label">
>>> b) center the map where the marker is?
>>
>>> Thanks in advance,
>>> Chris
> 

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to