Excellent. That is a much better solution. I was looking for something
exactly like that but didn't know about the getComponent function. (I
really need to get that documentation going...it's just been an
extraordinarily chaotic past couple of weeks at home and work.) Thanks.
- John
David Huynh wrote:
> Marko wrote:
>
>> Hello,
>>
>> Recently i've seen an exhibit map with links underneath where you
>> could jump to a point in the map. Unfortunately, I have forgotten to
>> bookmark the page. Does anyone how to include the jumps?
>>
>>
> Marko,
>
> First, you need to assign an id to the map view
>
> <div ex:role="view" ex:viewClass="Map" id="the-map-view" ...
>
> Then to drive the map, do something like
>
> exhibit.getComponent("the-map-view")._map.setCenter(new GLatLng(lat,
> lng), zoom);
>
> David
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---