Use Mapbox's ear clipping algorithm to handle drawing any simple polygon

Edit tools: get rid of the preview polygon and render the result-to-be

(0) -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial