Try this. http://marx-tseng.appspot.com/maps/Map_Draw_Circle.html
On 7月19日, 上午11時45分, The Digital Pioneer <[email protected]> wrote: > Hi. I'm looking to receive all click events no matter what they happen > to be on. Is this possible? > > A little context: I'm trying to make a page where the user can select > a circular region by clicking where the center will be, then clicking > where the edge will be. When they are between the two clicks, I draw a > circle to visualize the selected region. Unfortunately, the second > click event (which is just a click event handler on the map) does not > reliably work, presumably because the circle sometimes gets it > instead. I set another handler on the circle, but it is equally > finicky. > > Demo/proof of concept page here:http://digitalpioneer.no-ip.org/testmap.html > > I'm new to this, so please don't flame too hard. :) Any advice is > appreciated. -- 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 [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-js-api-v3?hl=en.
