mapstraction.removeMarker
没有删除地图上的标记
它不会抛出任何异常。它不会在地图分割图上删除。
`mapstraction.removeMarker(markers[j]);
//I will get all markers from mapstraction map, then i want to remove all
removeAllMarkers(mapstraction.markers);
//some of them are not removed
function removeAllMarkers(markers){
for(var j=0; j<markers.length; j++){
try{
mapstraction.removeMarker(markers[j]);
}catch(err){
}
}
}