http://www.geocodezip.com/holidaymullandiona_firstmapD.asp
In v3, clicking and dragging inside a polygon DOES fire a click
event. Example:
http://code.google.com/apis/maps/documentation/v3/examples/polygon-arrays.html
Note that when you click and drag, when you finish dragging, the click
event fires and the infowindow opens.
Is this by design, or is this a bug/feature that has yet to be
implemented? I have a map of the US covered entirely by state
polygons and it's impossible to navigate by dragging without firing
the polygon click events.
On Mar 8, 5:42 pm, PhilR8 <phi...@gmail.com> wrote:
> In v2, click events for polygons would not be fired if the user
> clicked and dragged inside of the polygon. Example:
>
> http://www.geocodezip.com/holidaymullandiona_firstmapD.asp
>
> In v3, clicking and dragging inside a polygon DOES fire a click
> event. Example:
>
> http://code.google.com/apis/maps/documentation/v3/examples/polygon-ar...
Right now I have polygons which are "dead" and an auto-generated-and-
centered custom Marker Icon (not blank/invisible) which opens the
related info window. I wonder if that made any sense to anyone else.
Better look at the example link if it didn't heh.
http://library.ucf.edu/Administration/Maps/Default_unpublished.asp
I've filed a internal bug about the click event firing on a poly drag.
- Luke
On Mar 11, 12:25 pm, Brak <brak.steph...@gmail.com> wrote:
> I was hoping to hear a response to this too. I'd also like to trigger
> info windows based on polygon clicks. Panning the map by inadvertently
> click-n-dragging a polygon, which triggers an info window, which would
> reverse pan the map back to make the info window fully show would be
> really unintuitive and frustrating.
>
> Right now I have polygons which are "dead" and an auto-generated-and-
> centered custom Marker Icon (not blank/invisible) which opens the
> related info window. I wonder if that made any sense to anyone else.
> Better look at the example link if it didn't heh.http://library.ucf.edu/Administration/Maps/Default_unpublished.asp
I've exactly the same problem, and don't know how to solve it.
On 9 mar, 00:42, PhilR8 <phi...@gmail.com> wrote:
> In v2, click events for polygons would not be fired if the user
> clicked and dragged inside of the polygon. Example:
>
> http://www.geocodezip.com/holidaymullandiona_firstmapD.asp
>
> In v3, clicking and dragging inside a polygon DOES fire a click
> event. Example:
>
> http://code.google.com/apis/maps/documentation/v3/examples/polygon-ar...
>
> Note that when you click and drag, when you finish dragging, the click
> event fires and the infowindow opens.
>
> Is this by design, or is this a bug/feature that has yet to be
> implemented? I have a map of the US covered entirely by state
> polygons and it's impossible to navigate by dragging without firing
> the polygon click events.
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-api-v3+unsub...@googlegroups.com.