diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-28 20:22:39 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-28 20:22:39 -0400 |
| commit | 6438a70116adf0516407a55606d859a5c85083d6 (patch) | |
| tree | f65e70d55c3fc2849b355023dac2a58a9ad5c5ff /public/assets/test/ortho2.html | |
| parent | c0e5a31151dcdbf2b08707fba9008d003d87cd4f (diff) | |
finding closest point and segment
Diffstat (limited to 'public/assets/test/ortho2.html')
| -rw-r--r-- | public/assets/test/ortho2.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/assets/test/ortho2.html b/public/assets/test/ortho2.html index 49e0308..013c75b 100644 --- a/public/assets/test/ortho2.html +++ b/public/assets/test/ortho2.html @@ -158,6 +158,10 @@ map = new Map ({ height: window.innerHeight, zoom: -2, }) +map.ui.add_tool("arrow", new ArrowTool) +map.ui.add_tool("polyline", new PolylineTool) +map.ui.add_tool("position", new PositionTool) + $(window).resize(function(){ scene.width = window.innerWidth/2 map.canvas.width = map.dimensions.a = window.innerWidth/2 |
