[Google Maps API v2] Re: remove markers and polylines
On Oct 13, 11:53 am, alain <d...@morissen.com> wrote:
> Thanks for answering!
> I get no javascript error --
That is funny. I get an error on line 73 when I click the "remove
last waypoint" button:
Line: 73
Error: 'map' is null or not an object
Have you tried fixing that?
(you have a global map variable, but the one that is actually used for
your map is local to the loadMap function)
-- Larry
> regarding a link: you find a slightly
> simplified version onhttp://www.investment-checkup.ch/maps/markertest.html
> When you insert more then one waypoint, a line is drawn between them.
> When you click the button 'remove last waypoint', the debug-alert
> shows you the amount of points -- but no one get's deleted...
> Best regards -- Alain
>
> On 13 Okt., 00:29, "geocode...@gmail.com" <geocode...@gmail.com>
> wrote:
>
>
>
> > On Oct 12, 2:36 pm, alain <d...@morissen.com> wrote:
>
> > > I try to use following code -- but the removal 'deletelast()' do's not
> > > work:
>
> > That is unfortunate. What javascript errors do you get?
>
> > If you post a link to your map we might be able to help you more
> > efficiently.
>
> >http://groups.google.com/group/Google-Maps-API/web/suggested-posting-......
>
> > -- Larry- Hide quoted text -
>
> - Show quoted text -
--
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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home