@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.22 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as o}from"../../../../chunks/tslib.es6.js";import{property as t}from"../../../../core/accessorSupport/decorators/property.js";import"../../../../core/has.js";import"../../../../core/Logger.js";import"../../../../core/RandomLCG.js";import{subclass as s}from"../../../../core/accessorSupport/decorators/subclass.js";import{makeDirectionField as i,makeDistanceField as e,makeAreaField as r}from"../fields/fields.js";import{SketchTooltipInfo as p}from"./SketchTooltipInfo.js";import{TooltipInfoWithCoordinates as a}from"./TooltipInfoWithCoordinates.js";let c=class extends(a(p)){constructor(o){super(o),this.type="draw-polygon",this.direction=i(),this.distance=e(),this.area=r(),this.xyMode="direction-distance"}get allFields(){return[this.direction,this.distance,this.longitude,this.latitude,this.x,this.y,this.elevation,this.area]}};o([t()],c.prototype,"xyMode",void 0),o([t()],c.prototype,"helpMessage",void 0),o([t()],c.prototype,"allFields",null),c=o([s("esri.views.interactive.tooltip.infos.DrawPolygonTooltipInfo")],c);export{c as DrawPolygonTooltipInfo};