textarea inside overlay - highlight pans map

123 views
Skip to first unread message

Tarun Pondicherry

unread,
Jul 3, 2011, 3:07:12 PM7/3/11
to google-map...@googlegroups.com
I would like to put a textarea inside a custom overlay.  I added the overlay to the floatPane and I am able to click and enter text, however if i drag to highlight text, the map pans.  How may I be able to fix this?  I want the overlay div to intercept all mouse events inside its bounds.

Chris Broadfoot

unread,
Jul 3, 2011, 9:37:13 PM7/3/11
to google-map...@googlegroups.com
Capturing mousemove events should work.

--


On Mon, Jul 4, 2011 at 5:07 AM, Tarun Pondicherry <tarunpon...@gmail.com> wrote:
I would like to put a textarea inside a custom overlay.  I added the overlay to the floatPane and I am able to click and enter text, however if i drag to highlight text, the map pans.  How may I be able to fix this?  I want the overlay div to intercept all mouse events inside its bounds.

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/_YTkeVNI7cAJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Kim Andersen

unread,
Nov 8, 2011, 10:53:54 AM11/8/11
to google-map...@googlegroups.com
Hi Tarun
Did you manage to get something working on this topic? Im in the same alley and would appreciate your feedback on this.

Thanks.
Kim
Reply all
Reply to author
Forward
0 new messages