Delete a point from a polygon/polyline.

I have a polygon/polyline and I would like to edit it after I set "ThePolyline->Editable = True;" Then I see all point circles that I can drag and insert a point between two line points.That is great!
My question is if there is a way to delete a point from a polygon/polyline? I can loop through the points to find the point that is closest to my click point with certain tolerance, but how should I use the tolerance in different zoom levels?
Thanks!

Unfortunately there's currently no UI available in the Google Maps API to remove a single point of a polyline.
You can try requesting the current zoom level before calculating the tolerance.