> then when the user rolls over and/or clicks the area a popup appears
> which can hold other HTML like Sales Rep's for that area, photos of
> the rep, etc.

if you just want clicks, Mike's already done the work for you:
http://econym.org.uk/gmap/example_states.htm

rollovers are more complicated. The click listener above works on
opening the infowindow at the point where the map was clicked. But you
would have to be careful coding something similar with a mouseover,
because you get a new point location every time the mouse moves. And
obviously you don't want to be opening up a new infowindow at each of
those points. So the question becomes do you get the infowindow to
follow the mouse or do you pick some arbitrary point within the
polygon to use as the position where to display your label/infowindow/
div/whatever.

Both are easily accomplished, but it's kind of a pivotal design
decision that you may as well make to begin with.

one other complicating factor: v2 is now deprecated. if you're
embarking on a new project it's wise to do it in v3.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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