@arcgis/map-components 5.1.0-next.95 → 5.1.0-next.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{OBPZYX2V.js → 37ET5N3U.js} +1 -1
- package/dist/cdn/{KP443AQC.js → 66O32Z3S.js} +1 -1
- package/dist/cdn/{K2EFPB7C.js → CH27MJRF.js} +1 -1
- package/dist/cdn/{LDQVFFG7.js → EBK4AZBW.js} +1 -1
- package/dist/cdn/{LDA27YQX.js → G3XG6IQK.js} +1 -1
- package/dist/cdn/{L2P4AHTV.js → GBIE6ESD.js} +1 -1
- package/dist/cdn/HTQ2BHR7.js +2 -0
- package/dist/cdn/{LMYDN3CX.js → LFJPCLIF.js} +1 -1
- package/dist/cdn/{4XAI2HIF.js → NHKVX7X4.js} +1 -1
- package/dist/cdn/{C5DDFL3G.js → O3B4KGIM.js} +1 -1
- package/dist/cdn/{SRJLCIJT.js → OV3M75AU.js} +1 -1
- package/dist/cdn/PEO4YFUQ.js +2 -0
- package/dist/cdn/{K2GKTAR3.js → PYJOYJLJ.js} +1 -1
- package/dist/cdn/S6EIVRDH.js +2 -0
- package/dist/cdn/{4LJNVQIY.js → TT745B6J.js} +1 -1
- package/dist/cdn/{F57ILFMK.js → UWOBBUXS.js} +1 -1
- package/dist/cdn/VTGHFASH.js +2 -0
- package/dist/cdn/{65PU3KOG.js → WUMHMR2U.js} +1 -1
- package/dist/cdn/XHK6DBBU.js +2 -0
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/popup/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/slots.js +3 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +120 -43
- package/dist/components/arcgis-coordinate-conversion/customElement.js +240 -184
- package/dist/components/arcgis-coordinate-conversion/index.js +11 -3
- package/dist/components/arcgis-features/customElement.d.ts +7 -0
- package/dist/components/arcgis-map/customElement.d.ts +5 -1
- package/dist/components/arcgis-popup/customElement.d.ts +7 -0
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +1 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +8 -0
- package/dist/components/arcgis-presentation/customElement.js +37 -26
- package/dist/components/arcgis-presentation-captions/customElement.js +5 -5
- package/dist/components/arcgis-scene/customElement.d.ts +4 -0
- package/dist/components/arcgis-slider-scale-range/customElement.js +2 -2
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +39 -0
- package/dist/components/arcgis-unit-radio-button-group/index.js +4 -0
- package/dist/components/arcgis-unit-select/customElement.js +8 -8
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +4 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/4MLEO5M6.js +0 -2
- package/dist/cdn/5IBP5WKD.js +0 -2
- package/dist/cdn/7HJFPAJR.js +0 -2
- package/dist/cdn/MDEZXQD5.js +0 -2
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
2
3
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
3
4
|
import type Conversion from "@arcgis/core/widgets/CoordinateConversion/support/Conversion.js";
|
|
4
5
|
import type Format from "@arcgis/core/widgets/CoordinateConversion/support/Format.js";
|
|
5
|
-
import type Collection from "@arcgis/core/core/Collection.js";
|
|
6
6
|
import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol.js";
|
|
7
7
|
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
8
8
|
import type CIMSymbol from "@arcgis/core/symbols/CIMSymbol.js";
|
|
9
9
|
import type PointSymbol3D from "@arcgis/core/symbols/PointSymbol3D.js";
|
|
10
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
11
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
12
|
+
import type { LengthUnit } from "@arcgis/core/core/units.js";
|
|
12
13
|
import type { Orientation, StorageType } from "./types.js";
|
|
13
14
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
15
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
@@ -80,12 +81,8 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
80
81
|
/**
|
|
81
82
|
* Describes whether the component is expanded or not. If `true`, the component is expanded and all conversions are visible.
|
|
82
83
|
*
|
|
84
|
+
* @deprecated since 5.1, the component no longer has expand/collapse functionality
|
|
83
85
|
* @default false
|
|
84
|
-
* @example
|
|
85
|
-
* Expand the component.
|
|
86
|
-
* ```js
|
|
87
|
-
* coordinateConversionComponent.expanded = true;
|
|
88
|
-
* ```
|
|
89
86
|
*/
|
|
90
87
|
accessor expanded: boolean;
|
|
91
88
|
/**
|
|
@@ -137,42 +134,52 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
137
134
|
/**
|
|
138
135
|
* Determines whether the capture button will be shown in the component. If `true`, the capture button will be hidden.
|
|
139
136
|
*
|
|
137
|
+
* @deprecated since 5.1, use `hideCaptureSection` instead
|
|
140
138
|
* @default false
|
|
141
|
-
* @example
|
|
142
|
-
* Hide the capture button.
|
|
143
|
-
* ```html
|
|
144
|
-
* <arcgis-map item-id="45b3b2fb35e94ab09381d0caa0da5946">
|
|
145
|
-
* <arcgis-coordinate-conversion hide-capture-button slot="bottom-left"></arcgis-coordinate-conversion>
|
|
146
|
-
* </arcgis-map>
|
|
147
|
-
* ```
|
|
148
139
|
*/
|
|
149
140
|
accessor hideCaptureButton: boolean;
|
|
150
141
|
/**
|
|
151
|
-
* Determines whether the
|
|
142
|
+
* Determines whether the capture section will be shown in the component. If `true`, the capture section will be hidden.
|
|
152
143
|
*
|
|
153
144
|
* @default false
|
|
145
|
+
* @since 5.1
|
|
154
146
|
* @example
|
|
155
|
-
* Hide the
|
|
147
|
+
* Hide the capture section.
|
|
156
148
|
* ```html
|
|
157
149
|
* <arcgis-map item-id="45b3b2fb35e94ab09381d0caa0da5946">
|
|
158
|
-
* <arcgis-coordinate-conversion hide-
|
|
150
|
+
* <arcgis-coordinate-conversion hide-capture-section slot="bottom-left"></arcgis-coordinate-conversion>
|
|
159
151
|
* </arcgis-map>
|
|
160
152
|
* ```
|
|
161
153
|
*/
|
|
154
|
+
accessor hideCaptureSection: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Determines whether the expand button will be shown in the component. If `true`, the expand button will be hidden.
|
|
157
|
+
*
|
|
158
|
+
* @deprecated since 5.1, the component no longer has expand/collapse functionality
|
|
159
|
+
* @default false
|
|
160
|
+
*/
|
|
162
161
|
accessor hideExpandButton: boolean;
|
|
163
162
|
/**
|
|
164
163
|
* Determines whether the input coordinate button will be shown in the component. If `true`, the input button will be hidden.
|
|
165
164
|
*
|
|
165
|
+
* @deprecated since 5.1, use `hideInputSection` instead
|
|
166
166
|
* @default false
|
|
167
|
+
*/
|
|
168
|
+
accessor hideInputButton: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Determines whether the input section will be shown in the component. If `true`, the input section will be hidden.
|
|
171
|
+
*
|
|
172
|
+
* @default false
|
|
173
|
+
* @since 5.1
|
|
167
174
|
* @example
|
|
168
|
-
* Hide the input
|
|
175
|
+
* Hide the input section.
|
|
169
176
|
* ```html
|
|
170
177
|
* <arcgis-map item-id="45b3b2fb35e94ab09381d0caa0da5946">
|
|
171
|
-
* <arcgis-coordinate-conversion hide-input-
|
|
178
|
+
* <arcgis-coordinate-conversion hide-input-section slot="bottom-left"></arcgis-coordinate-conversion>
|
|
172
179
|
* </arcgis-map>
|
|
173
180
|
* ```
|
|
174
181
|
*/
|
|
175
|
-
accessor
|
|
182
|
+
accessor hideInputSection: boolean;
|
|
176
183
|
/**
|
|
177
184
|
* Determines whether the settings button will be shown in the component. If `true`, the settings button will be hidden.
|
|
178
185
|
*
|
|
@@ -194,12 +201,21 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
194
201
|
* @default "coordinate-system"
|
|
195
202
|
*/
|
|
196
203
|
accessor icon: IconName;
|
|
204
|
+
/**
|
|
205
|
+
* If false, the component will estimate coordinate precision based on the current state of the
|
|
206
|
+
* view. As the view is zoomed farther out, fewer decimal places will be shown. Only affects `DD`,
|
|
207
|
+
* `DDM`, `DMS`, and `XY` formats.
|
|
208
|
+
*
|
|
209
|
+
* @default false
|
|
210
|
+
* @since 5.1
|
|
211
|
+
*/
|
|
212
|
+
accessor ignoreCoordinatePrecision: boolean;
|
|
197
213
|
/**
|
|
198
214
|
* The component's default label.
|
|
199
215
|
*
|
|
200
216
|
* @default "Coordinate conversion"
|
|
201
217
|
*/
|
|
202
|
-
accessor label: string
|
|
218
|
+
accessor label: string;
|
|
203
219
|
/**
|
|
204
220
|
* This symbol is used to visualize the location currently described by the component when `capture` mode
|
|
205
221
|
* is active.
|
|
@@ -215,7 +231,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
215
231
|
*/
|
|
216
232
|
accessor locationSymbol: PictureMarkerSymbol | SimpleMarkerSymbol | CIMSymbol | PointSymbol3D;
|
|
217
233
|
/** @internal */
|
|
218
|
-
protected messages:
|
|
234
|
+
protected messages: {
|
|
219
235
|
componentLabel: string;
|
|
220
236
|
abbreviatedDirections: {
|
|
221
237
|
north: string;
|
|
@@ -225,28 +241,45 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
225
241
|
};
|
|
226
242
|
addConversion: string;
|
|
227
243
|
alertLabel: string;
|
|
228
|
-
back: string;
|
|
229
244
|
captureMode: string;
|
|
230
|
-
|
|
231
|
-
collapse: string;
|
|
245
|
+
display: string;
|
|
232
246
|
convert: string;
|
|
233
|
-
|
|
234
|
-
|
|
247
|
+
convertAndGoTo: string;
|
|
248
|
+
coordinates: string;
|
|
249
|
+
copyLabel: string;
|
|
250
|
+
copyElevationLabel: string;
|
|
235
251
|
copySuccessMessage: string;
|
|
236
252
|
defaultPattern: string;
|
|
237
|
-
|
|
238
|
-
|
|
253
|
+
done: string;
|
|
254
|
+
elevation: string;
|
|
255
|
+
selectElevationUnit: string;
|
|
256
|
+
format: string;
|
|
257
|
+
formatDescriptions: {
|
|
258
|
+
dd: string;
|
|
259
|
+
dms: string;
|
|
260
|
+
ddm: string;
|
|
261
|
+
mgrs: string;
|
|
262
|
+
usng: string;
|
|
263
|
+
utm: string;
|
|
264
|
+
xy: string;
|
|
265
|
+
basemap: string;
|
|
266
|
+
custom: string;
|
|
267
|
+
};
|
|
268
|
+
input: string;
|
|
239
269
|
inputCoordTitle: string;
|
|
270
|
+
inputFormat: string;
|
|
240
271
|
invalidCoordinate: string;
|
|
241
272
|
liveMode: string;
|
|
242
273
|
locationOffBasemap: string;
|
|
243
274
|
noBasemap: string;
|
|
275
|
+
noDisplayProperties: string;
|
|
276
|
+
noElevation: string;
|
|
244
277
|
noLocation: string;
|
|
245
278
|
preview: string;
|
|
246
|
-
removeConversion: string;
|
|
247
279
|
selectFormat: string;
|
|
248
|
-
|
|
249
|
-
|
|
280
|
+
selectFormats: string;
|
|
281
|
+
settingsTitleWithFormat: string;
|
|
282
|
+
} & T9nMeta<{
|
|
250
283
|
componentLabel: string;
|
|
251
284
|
abbreviatedDirections: {
|
|
252
285
|
north: string;
|
|
@@ -256,27 +289,44 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
256
289
|
};
|
|
257
290
|
addConversion: string;
|
|
258
291
|
alertLabel: string;
|
|
259
|
-
back: string;
|
|
260
292
|
captureMode: string;
|
|
261
|
-
|
|
262
|
-
collapse: string;
|
|
293
|
+
display: string;
|
|
263
294
|
convert: string;
|
|
264
|
-
|
|
265
|
-
|
|
295
|
+
convertAndGoTo: string;
|
|
296
|
+
coordinates: string;
|
|
297
|
+
copyLabel: string;
|
|
298
|
+
copyElevationLabel: string;
|
|
266
299
|
copySuccessMessage: string;
|
|
267
300
|
defaultPattern: string;
|
|
268
|
-
|
|
269
|
-
|
|
301
|
+
done: string;
|
|
302
|
+
elevation: string;
|
|
303
|
+
selectElevationUnit: string;
|
|
304
|
+
format: string;
|
|
305
|
+
formatDescriptions: {
|
|
306
|
+
dd: string;
|
|
307
|
+
dms: string;
|
|
308
|
+
ddm: string;
|
|
309
|
+
mgrs: string;
|
|
310
|
+
usng: string;
|
|
311
|
+
utm: string;
|
|
312
|
+
xy: string;
|
|
313
|
+
basemap: string;
|
|
314
|
+
custom: string;
|
|
315
|
+
};
|
|
316
|
+
input: string;
|
|
270
317
|
inputCoordTitle: string;
|
|
318
|
+
inputFormat: string;
|
|
271
319
|
invalidCoordinate: string;
|
|
272
320
|
liveMode: string;
|
|
273
321
|
locationOffBasemap: string;
|
|
274
322
|
noBasemap: string;
|
|
323
|
+
noDisplayProperties: string;
|
|
324
|
+
noElevation: string;
|
|
275
325
|
noLocation: string;
|
|
276
326
|
preview: string;
|
|
277
|
-
removeConversion: string;
|
|
278
327
|
selectFormat: string;
|
|
279
|
-
|
|
328
|
+
selectFormats: string;
|
|
329
|
+
settingsTitleWithFormat: string;
|
|
280
330
|
}>;
|
|
281
331
|
/**
|
|
282
332
|
* Describes the current mode of the component.
|
|
@@ -284,13 +334,15 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
284
334
|
* * While in `live` mode, the component will update as the cursor moves.
|
|
285
335
|
* * While in `capture` mode, the component will update on mouse click and display a graphic
|
|
286
336
|
* marking the current location.
|
|
337
|
+
* * While in `idle` mode, the component will not update based on cursor movement or mouse clicks.
|
|
338
|
+
* This mode can be used to "pause" the component without losing the current location.
|
|
287
339
|
*
|
|
288
340
|
* @default "live"
|
|
289
341
|
* @example
|
|
290
|
-
* Programmatically set the component to
|
|
342
|
+
* Programmatically set the component to idle mode.
|
|
291
343
|
* ```js
|
|
292
344
|
* const coordinateConversionComponent = document.getElementsByTagName("arcgis-coordinate-conversion")[0];
|
|
293
|
-
* coordinateConversionComponent.mode = "
|
|
345
|
+
* coordinateConversionComponent.mode = "idle";
|
|
294
346
|
* ```
|
|
295
347
|
*/
|
|
296
348
|
accessor mode: Mode;
|
|
@@ -304,6 +356,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
304
356
|
* Determines whether the component should expand up or down. If set to `auto`,
|
|
305
357
|
* the component will be oriented based on its position in the view.
|
|
306
358
|
*
|
|
359
|
+
* @deprecated 5.1, the component no longer has an orientation
|
|
307
360
|
* @default "auto"
|
|
308
361
|
*/
|
|
309
362
|
accessor orientation: Orientation;
|
|
@@ -313,6 +366,22 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
313
366
|
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
314
367
|
*/
|
|
315
368
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* Determines whether leading zeros will be shown in `DD`, `DDM`, and `DMS` formats.
|
|
371
|
+
* When false: 01.37°N, 008.71°E
|
|
372
|
+
* When true: 1.37°N, 8.71°E
|
|
373
|
+
*
|
|
374
|
+
* @default false
|
|
375
|
+
* @since 5.1
|
|
376
|
+
*/
|
|
377
|
+
accessor removeLeadingZeros: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* Determines whether the elevation of the current location will be shown. Only applicable when the view is a SceneView.
|
|
380
|
+
*
|
|
381
|
+
* @default false
|
|
382
|
+
* @since 5.1
|
|
383
|
+
*/
|
|
384
|
+
accessor showElevation: boolean;
|
|
316
385
|
/**
|
|
317
386
|
* The current state of the component.
|
|
318
387
|
*
|
|
@@ -335,6 +404,14 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
335
404
|
* @since 4.23
|
|
336
405
|
*/
|
|
337
406
|
accessor storageType: StorageType;
|
|
407
|
+
/**
|
|
408
|
+
* Indicates the vertical unit to use when displaying elevation.
|
|
409
|
+
*
|
|
410
|
+
* @default "meters"
|
|
411
|
+
* @since 5.1
|
|
412
|
+
* @see [LengthUnit](https://developers.arcgis.com/javascript/latest/references/core/core/units/#LengthUnit)
|
|
413
|
+
*/
|
|
414
|
+
accessor verticalUnit: LengthUnit;
|
|
338
415
|
/**
|
|
339
416
|
* The view associated with the component.
|
|
340
417
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion component will be associated with a map or scene component rather than using the `view` property.
|
|
@@ -359,7 +436,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
359
436
|
*/
|
|
360
437
|
readonly arcgisConversionChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
361
438
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
362
|
-
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "currentLocation" | "state" | "
|
|
439
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "currentLocation" | "state" | "mode" | "verticalUnit"; }>;
|
|
363
440
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
364
441
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
365
442
|
readonly "@eventTypes": {
|