I am sorry to have upset you Pil, here are my clarifications: 1: the return value in pixel is not important if I know if the click is on the border or in the filling part, this info is available in Bing maps and I just use it to solve this problem. 2: I do not believe Bing maps is easier to handle than Google Maps or Mappy ( I use the three of them actually, they all have their pros and cons) and I wasn't trying to promote a Google's competitor product, my goal was to explain how I already solved the problem with a different API which offers different informations. 3: Again sorry if I upset you with my answer to Rossko, I am not here to upset people, please accept my apologies.
And thanks again for the solution you submitted Pil. On Thu, Jun 30, 2011 at 9:52 AM, Pil <[email protected]> wrote: > Three things to clarify: > > 1) You didn't mention that you wanted the return values of the click > events in pixels. > > 2) I personally do not believe the conjecture that Microsoft's Bing > Maps are easier to handle than Google Maps. > > 3) I think your reply unveils your social competence. Maybe you should > handle that a bit more carefully in the future. > > > > > On Jun 29, 8:41 pm, Arnaud Lhopiteau <[email protected]> wrote: >> Actually this is how I solved this problem with Bing maps since I can >> get the click event coordinates in pixels, I posted this question on >> this forum because I couldn't figure out how to implement that with >> Google maps API. Thanks. >> >> On Jun 29, 8:27 pm, Rossko <[email protected]> wrote: >> >> > > I would like to detect when a click event fires from the "fill" or >> > > "stroke" >> > > part of a circle, any idea? >> >> > Or you could do some simple maths. Calculate the distance from click >> > to circle centre. Bigger than radius? Outside. Approximately equal >> > to radius (you can choose your own tolerance here)? On the line. >> > Smaller than radius? Inside. > > -- > 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. > > -- 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.
