Thank you for your advices. On 21 avr, 18:04, Rossko <[email protected]> wrote: > > Good idea this notion of category. > > But it's not possible to have a clearOverlay by category: a loop must > > be implemented ! > > That is correct. You can write a little function to do it easily. > If there were a clearCategory built into the API it would do exactly > the same. > > > If I want, by code, to create one Marker A of the A cat at the > > position <latA,lngA> and if I want, by a click, to create one Marker B > > of the B cat at the position <latA,lngA>, superimposed to the Marker > > A, then I don't know how to do: the mouse pointer disturb this > > operation. > > You can choose if you want marker A to respond to mouse clicks, or > not. > If marker A does respond to mouse clicks, and you have some other > click-driven code to place markers, of course it would be difficult to > place another marker directly on top. It's up to you to write code to > manage that. You might, for example, have the user poke a button > "add marker" beforehand that temporarily disables click actions on > existing markers. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" 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 > athttp://groups.google.com/group/google-maps-api?hl=en.
-- You received this message because you are subscribed to the Google Groups "Google Maps API" 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.
