On Oct 13, 1:50 pm, alain <[email protected]> wrote: > Many thanks -- I never got an error message -- but that was the bug! > Best regards from switzerland
What browser are you using for testing? IE is usually configured by default not to tell you about errors. In Firefox, Opera and Chrome, you need to look in the "Error Console". -- Larry > alain > > On 13 Okt., 21:05, "[email protected]" <[email protected]> > wrote: > > > > > On Oct 13, 11:53 am, alain <[email protected]> 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, "[email protected]" <[email protected]> > > > wrote: > > > > > On Oct 12, 2:36 pm, alain <[email protected]> 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 -- 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 [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.
