i found a solution - i actually created a user control for my google
map & set the div id dynamically:
<div id="GmapDivID_<%=GMapObject.GoogleObjectID %>">

then in my page_load of the usercontrol, i make the following call:
Page.ClientScript.RegisterStartupScript(Page.GetType(), "onLoadCall_"
+ GMapObject.GoogleObjectID.ToString(), "<script language='javascript'
type='text/javascript'> DrawGMap('GmapDovOD_" +
GMapObject.GoogleObjectID + "', XMLObjectifier.xmlToJSON
(XMLObjectifier.textToXML('" + xmlString + "'))); </script>");

marcelo - you have a pretty clever solution, thanks for the reply :)



On Jan 5, 1:31 pm, marcelo <[email protected]> wrote:
> On Jan 5, 10:24 pm,nimarii<[email protected]> wrote:
>
> > Is there a more dynamic way of doing this other than hardcoding the
> > div ids and altering the js?
>
> Try this one:http://maps.forum.nu/gm_maps_in_sync.html
>
> --
> Marcelo -http://maps.forum.nu
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to