Hello,

For a website i need to make the map editable again. After an user has 
saved his route in the database, i like to make it editable again.
I have got the reading and displaying the route going. Now for the editable 
part i start with a simple clearmap function, like

 function clearMarkers() {
jQuery("#distKm").val("");
theRoute.setMap(null);
routeCoords = [];
}

Now the line (theRoute) is cleared but the markers on the routeCoords are 
still there? How do i clear all the markers?

regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to