diff --git a/examples/index.ts b/examples/index.ts index 611b111..739e066 100644 --- a/examples/index.ts +++ b/examples/index.ts @@ -69,6 +69,9 @@ buttonGroup.onclick = (evt) => { case 'drawFreehandLine': new CesiumPlot.FreehandLine(Cesium, viewer, {}); break; + case 'drawFreehandPolygon': + new CesiumPlot.FreehandPolygon(Cesium, viewer, {}); + break; default: break; diff --git a/index.html b/index.html index 5aceb3d..601ca53 100644 --- a/index.html +++ b/index.html @@ -49,6 +49,7 @@ +