Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:developer:examples:addoverlayobjects [2019/06/14 05:59] jve@orbitgt.com |
dev:developer:examples:addoverlayobjects [2020/05/12 17:59] jeroen removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Example addOverlayObjects ====== | ====== Example addOverlayObjects ====== | ||
- | === Code === | ||
- | |||
- | === Viewer === | ||
< | < | ||
Line 34: | Line 31: | ||
*/ | */ | ||
function handleWorkspaceOpened() { | function handleWorkspaceOpened() { | ||
- | |||
- | /* | ||
- | var part = new CoordinatePart(); | ||
- | part.points.add(Coordinate.fromXY(null, | ||
- | part.points.add(Coordinate.fromXY(null, | ||
- | part.points.add(Coordinate.fromXY(null, | ||
- | part.points.add(Coordinate.fromXY(null, | ||
- | var path = new CoordinatePath(); | ||
- | path.crs = " | ||
- | path.parts.add(part); | ||
- | */ | ||
var part = new CoordinatePart(); | var part = new CoordinatePart(); | ||
Line 106: | Line 92: | ||
</ | </ | ||
+ | | ||
</ | </ |