Google Maps & jQuery InfoWindow Replacement

Posted by Denis Hoctor on Stack Overflow See other posts from Stack Overflow or by Denis Hoctor
Published on 2010-02-08T17:39:01Z Indexed on 2010/04/19 14:03 UTC
Read the original article Hit count: 574

Filed under:
|
|

Hi all,

So I'm rewriting my first google maps app and I'm looking at how I create info windows on click of a marker and it seems very inefficent to be adding a listener for each. Previously I've used GInfoWindow and EBubble (http://econym.org.uk/gmap/ebubble.htm).

I was thinking that I could use jQuery to show a div with dynamic data if I had a hook for each marker to show the window and relevant marker info (pulled from JSON). I can see each marker has a unique id (e.g. mtgt_unnamed_2822) but I'm not sure how to predicte this.

Has anyone tried this before or know how to go about it?

Thanks Denis

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about jQuery