On Sep 4, 1:43 pm, Thomas <[EMAIL PROTECTED]> wrote:
> I am new to the Google API and i was wondering how to get it done to
> get information about a marker not shown in the info window, but
> instead in a sidebar outside of the map.

Mike's example http://econym.googlepages.com/basic2.htm adds a
clickable sidebar, but it demonstrates how such a thing is
constructed. You can simply add the information to the sidebar instead
of the infoWindow.

Suggestion: put each piece of information inside it's *own* div within
the sidebar.
sidebar_html += name+"<br><div id=div"+i+">"+html+"</div>"
which would populate your sidebar with a list of entries like
  Marker One<br><div id=div1>First marker</div>
Doing that would make it easier in the future to implement show/hide
functionality of that additional info. You could add a class attribute
to the div as well to aid formatting.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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