On Feb 27, 12:08 am, xelawho <[email protected]> wrote:
> Hi,
>
> all the talk about one-click polyline measurers got me curious, so I
> hacked one together and it turned out OK, except for the fact that I
> can't get the markers to disappear when the rest of the map is
> cleared. The polyline gets removed with:
> map.removeOverlay(poly);
>
> which made me think that:
> map.removeOverlay(markers);

What is markers? [I would guess an array of markers]
What does the documentation say the .removeOverlay method takes as an
argument [a marker]
Why would you think that would work?

you've been around long enough, you should know to
1. look at the javascript errors
2. read the documentation
3. provide a link to your map that exhibits the problem.

  -- Larry

>
> would probably do the trick, but they just won't go away.
>
> thanks in advance for any pointers.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to