UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 856 B
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{_ as e}from"./chunks/tslib.es6.js";import r from"./Graphic.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 o}from"./core/accessorSupport/decorators/subclass.js";let s=class extends r{constructor(){super(...arguments),this.isAggregate=!0}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const r=this.sourceLayer?.trackInfo;return r?.enabled&&r.popupEnabled?r.popupTemplate:null}getObjectId(){return this.attributes.aggregateId}};e([t({type:Boolean})],s.prototype,"isAggregate",void 0),s=e([o("esri.TrackGraphic")],s);const p=s;export{p as default};