Yes, the map would be rendered in the lens template at first but I'm also looking to popup a map window but need a way to pass 'latLng' parameter from Exhibit data into a function call.

What I also noticed is that when lens is rendered, its holding element is assigned ex:itemid="1" for Exhibit management. I don't have a lot of experience with JS/DHTML but would it make sense to assign unique DHMTL id to the values being rendered so you could easily retrieve their values from document.getElementById() ?

Ivan

From: David Huynh <[EMAIL PROTECTED]>
Subject: Re: single item map functionality
To: General List <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Do you intend to render a map in a lens template?

David

Ivan Zhidov wrote:

> Its possible in Exhibit to switch to a Map view to see the item listed > on Google Map. Is there a way to display a certain single item on the > map? > Can I control which item gets displayed via JS somehow? If this cannot > be easily done out of the box please give me some direction to follow > to implement this type of functionality.
>
> Ivan

begin:vcard
fn:Ivan Zhidov
n:Zhidov;Ivan
tel;work:+19414471199
version:2.1
end:vcard

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to