diff --git a/examples/index.ts b/examples/index.ts index 0fa4c75..8d50bf1 100644 --- a/examples/index.ts +++ b/examples/index.ts @@ -120,6 +120,9 @@ buttonGroup.onclick = (evt) => { case 'drawFreehandLine': geometry = new CesiumPlot.FreehandLine(Cesium, viewer); break; + case 'drawCurve': + geometry = new CesiumPlot.Curve(Cesium, viewer); + break; case 'drawFreehandPolygon': geometry = new CesiumPlot.FreehandPolygon(Cesium, viewer, { material: Cesium.Color.GREEN, diff --git a/index.html b/index.html index 167459e..5a3907b 100644 --- a/index.html +++ b/index.html @@ -56,30 +56,12 @@ + - - - - - - - - - - - - - - - - - - -