@itwin/map-layers-formats 5.0.0-dev.4 → 5.0.0-dev.41
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/CHANGELOG.md +28 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js +29 -31
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisJsonFeatureReader.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisPbfFeatureReader.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js +26 -28
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
- package/lib/cjs/ArcGisFeature/EsriSymbology.js.map +1 -1
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js +48 -72
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
- package/lib/cjs/Feature/DefaultMarkerIcon.js +9 -9
- package/lib/cjs/Feature/DefaultMarkerIcon.js.map +1 -1
- package/lib/cjs/Feature/FeatureCanvasRenderer.js.map +1 -1
- package/lib/cjs/Feature/FeatureInfoReader.js.map +1 -1
- package/lib/cjs/Feature/FeatureSymbology.js.map +1 -1
- package/lib/cjs/Feature/RandomMapColor.js +10 -10
- package/lib/cjs/Feature/RandomMapColor.js.map +1 -1
- package/lib/cjs/GeoJSON/GeoJSONGeometry.js.map +1 -1
- package/lib/cjs/GeoJSON/GeoJSONGeometryReader.js.map +1 -1
- package/lib/cjs/Icons/MapInfoIcon.js.map +1 -1
- package/lib/cjs/OgcApiFeatures/OgcApiFeaturesFormat.js +1 -1
- package/lib/cjs/OgcApiFeatures/OgcApiFeaturesFormat.js.map +1 -1
- package/lib/cjs/OgcApiFeatures/OgcApiFeaturesProvider.js +21 -21
- package/lib/cjs/OgcApiFeatures/OgcApiFeaturesProvider.js.map +1 -1
- package/lib/cjs/OgcApiFeatures/OgcApiFeaturesReader.js.map +1 -1
- package/lib/cjs/Tools/GeometryTerrainDraper.js.map +1 -1
- package/lib/cjs/Tools/MapFeatureInfoDecorator.js.map +1 -1
- package/lib/cjs/Tools/MapFeatureInfoTool.js +2 -2
- package/lib/cjs/Tools/MapFeatureInfoTool.js.map +1 -1
- package/lib/cjs/map-layers-formats.js.map +1 -1
- package/lib/cjs/mapLayersFormats.js +1 -1
- package/lib/cjs/mapLayersFormats.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js +29 -31
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisJsonFeatureReader.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisPbfFeatureReader.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js +26 -28
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
- package/lib/esm/ArcGisFeature/EsriSymbology.js.map +1 -1
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.js +48 -72
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
- package/lib/esm/Feature/DefaultMarkerIcon.js +9 -9
- package/lib/esm/Feature/DefaultMarkerIcon.js.map +1 -1
- package/lib/esm/Feature/FeatureCanvasRenderer.js.map +1 -1
- package/lib/esm/Feature/FeatureInfoReader.js.map +1 -1
- package/lib/esm/Feature/FeatureSymbology.js.map +1 -1
- package/lib/esm/Feature/RandomMapColor.js +10 -10
- package/lib/esm/Feature/RandomMapColor.js.map +1 -1
- package/lib/esm/GeoJSON/GeoJSONGeometry.js.map +1 -1
- package/lib/esm/GeoJSON/GeoJSONGeometryReader.js.map +1 -1
- package/lib/esm/Icons/MapInfoIcon.js.map +1 -1
- package/lib/esm/OgcApiFeatures/OgcApiFeaturesFormat.js +1 -1
- package/lib/esm/OgcApiFeatures/OgcApiFeaturesFormat.js.map +1 -1
- package/lib/esm/OgcApiFeatures/OgcApiFeaturesProvider.js +21 -21
- package/lib/esm/OgcApiFeatures/OgcApiFeaturesProvider.js.map +1 -1
- package/lib/esm/OgcApiFeatures/OgcApiFeaturesReader.js.map +1 -1
- package/lib/esm/Tools/GeometryTerrainDraper.js.map +1 -1
- package/lib/esm/Tools/MapFeatureInfoDecorator.js.map +1 -1
- package/lib/esm/Tools/MapFeatureInfoTool.js +2 -2
- package/lib/esm/Tools/MapFeatureInfoTool.js.map +1 -1
- package/lib/esm/map-layers-formats.js.map +1 -1
- package/lib/esm/mapLayersFormats.js +1 -1
- package/lib/esm/mapLayersFormats.js.map +1 -1
- package/lib/public/locales/en/mapLayersFormats.json +18 -18
- package/package.json +14 -14
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
6
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
7
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
8
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
9
|
-
};
|
|
10
5
|
/* eslint-disable */
|
|
11
6
|
/**
|
|
12
7
|
* Generated by the protoc-gen-ts. DO NOT EDIT!
|
|
@@ -17,12 +12,11 @@ import * as pb_1 from "google-protobuf";
|
|
|
17
12
|
/** @internal */
|
|
18
13
|
export var esriPBuffer;
|
|
19
14
|
(function (esriPBuffer) {
|
|
20
|
-
var _FeatureCollectionPBuffer_one_of_decls;
|
|
21
15
|
class FeatureCollectionPBuffer extends pb_1.Message {
|
|
16
|
+
#one_of_decls = [];
|
|
22
17
|
constructor(data) {
|
|
23
18
|
super();
|
|
24
|
-
|
|
25
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _FeatureCollectionPBuffer_one_of_decls, "f"));
|
|
19
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
26
20
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
27
21
|
if ("version" in data && data.version != undefined) {
|
|
28
22
|
this.version = data.version;
|
|
@@ -100,10 +94,8 @@ export var esriPBuffer;
|
|
|
100
94
|
return FeatureCollectionPBuffer.deserialize(bytes);
|
|
101
95
|
}
|
|
102
96
|
}
|
|
103
|
-
_FeatureCollectionPBuffer_one_of_decls = new WeakMap();
|
|
104
97
|
esriPBuffer.FeatureCollectionPBuffer = FeatureCollectionPBuffer;
|
|
105
98
|
(function (FeatureCollectionPBuffer) {
|
|
106
|
-
var _SpatialReference_one_of_decls, _Field_one_of_decls, _Value_one_of_decls, _Geometry_one_of_decls, _esriShapeBuffer_one_of_decls, _Feature_one_of_decls, _UniqueIdField_one_of_decls, _GeometryProperties_one_of_decls, _ServerGens_one_of_decls, _Scale_one_of_decls, _Translate_one_of_decls, _Transform_one_of_decls, _FeatureResult_one_of_decls, _CountResult_one_of_decls, _ObjectIdsResult_one_of_decls, _QueryResult_one_of_decls;
|
|
107
99
|
let GeometryType;
|
|
108
100
|
(function (GeometryType) {
|
|
109
101
|
GeometryType[GeometryType["esriGeometryTypePoint"] = 0] = "esriGeometryTypePoint";
|
|
@@ -164,10 +156,10 @@ export var esriPBuffer;
|
|
|
164
156
|
QuantizeOriginPostion[QuantizeOriginPostion["lowerLeft"] = 1] = "lowerLeft";
|
|
165
157
|
})(QuantizeOriginPostion = FeatureCollectionPBuffer.QuantizeOriginPostion || (FeatureCollectionPBuffer.QuantizeOriginPostion = {}));
|
|
166
158
|
class SpatialReference extends pb_1.Message {
|
|
159
|
+
#one_of_decls = [];
|
|
167
160
|
constructor(data) {
|
|
168
161
|
super();
|
|
169
|
-
|
|
170
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _SpatialReference_one_of_decls, "f"));
|
|
162
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
171
163
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
172
164
|
if ("wkid" in data && data.wkid != undefined) {
|
|
173
165
|
this.wkid = data.wkid;
|
|
@@ -302,13 +294,12 @@ export var esriPBuffer;
|
|
|
302
294
|
return SpatialReference.deserialize(bytes);
|
|
303
295
|
}
|
|
304
296
|
}
|
|
305
|
-
_SpatialReference_one_of_decls = new WeakMap();
|
|
306
297
|
FeatureCollectionPBuffer.SpatialReference = SpatialReference;
|
|
307
298
|
class Field extends pb_1.Message {
|
|
299
|
+
#one_of_decls = [];
|
|
308
300
|
constructor(data) {
|
|
309
301
|
super();
|
|
310
|
-
|
|
311
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Field_one_of_decls, "f"));
|
|
302
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
312
303
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
313
304
|
if ("name" in data && data.name != undefined) {
|
|
314
305
|
this.name = data.name;
|
|
@@ -463,13 +454,12 @@ export var esriPBuffer;
|
|
|
463
454
|
return Field.deserialize(bytes);
|
|
464
455
|
}
|
|
465
456
|
}
|
|
466
|
-
_Field_one_of_decls = new WeakMap();
|
|
467
457
|
FeatureCollectionPBuffer.Field = Field;
|
|
468
458
|
class Value extends pb_1.Message {
|
|
459
|
+
#one_of_decls = [[1, 2, 3, 4, 5, 6, 7, 8, 9]];
|
|
469
460
|
constructor(data) {
|
|
470
461
|
super();
|
|
471
|
-
|
|
472
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Value_one_of_decls, "f"));
|
|
462
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
473
463
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
474
464
|
if ("string_value" in data && data.string_value != undefined) {
|
|
475
465
|
this.string_value = data.string_value;
|
|
@@ -504,7 +494,7 @@ export var esriPBuffer;
|
|
|
504
494
|
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
505
495
|
}
|
|
506
496
|
set string_value(value) {
|
|
507
|
-
pb_1.Message.setOneofField(this, 1,
|
|
497
|
+
pb_1.Message.setOneofField(this, 1, this.#one_of_decls[0], value);
|
|
508
498
|
}
|
|
509
499
|
get has_string_value() {
|
|
510
500
|
return pb_1.Message.getField(this, 1) != null;
|
|
@@ -513,7 +503,7 @@ export var esriPBuffer;
|
|
|
513
503
|
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
514
504
|
}
|
|
515
505
|
set float_value(value) {
|
|
516
|
-
pb_1.Message.setOneofField(this, 2,
|
|
506
|
+
pb_1.Message.setOneofField(this, 2, this.#one_of_decls[0], value);
|
|
517
507
|
}
|
|
518
508
|
get has_float_value() {
|
|
519
509
|
return pb_1.Message.getField(this, 2) != null;
|
|
@@ -522,7 +512,7 @@ export var esriPBuffer;
|
|
|
522
512
|
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
523
513
|
}
|
|
524
514
|
set double_value(value) {
|
|
525
|
-
pb_1.Message.setOneofField(this, 3,
|
|
515
|
+
pb_1.Message.setOneofField(this, 3, this.#one_of_decls[0], value);
|
|
526
516
|
}
|
|
527
517
|
get has_double_value() {
|
|
528
518
|
return pb_1.Message.getField(this, 3) != null;
|
|
@@ -531,7 +521,7 @@ export var esriPBuffer;
|
|
|
531
521
|
return pb_1.Message.getFieldWithDefault(this, 4, 0);
|
|
532
522
|
}
|
|
533
523
|
set sint_value(value) {
|
|
534
|
-
pb_1.Message.setOneofField(this, 4,
|
|
524
|
+
pb_1.Message.setOneofField(this, 4, this.#one_of_decls[0], value);
|
|
535
525
|
}
|
|
536
526
|
get has_sint_value() {
|
|
537
527
|
return pb_1.Message.getField(this, 4) != null;
|
|
@@ -540,7 +530,7 @@ export var esriPBuffer;
|
|
|
540
530
|
return pb_1.Message.getFieldWithDefault(this, 5, 0);
|
|
541
531
|
}
|
|
542
532
|
set uint_value(value) {
|
|
543
|
-
pb_1.Message.setOneofField(this, 5,
|
|
533
|
+
pb_1.Message.setOneofField(this, 5, this.#one_of_decls[0], value);
|
|
544
534
|
}
|
|
545
535
|
get has_uint_value() {
|
|
546
536
|
return pb_1.Message.getField(this, 5) != null;
|
|
@@ -549,7 +539,7 @@ export var esriPBuffer;
|
|
|
549
539
|
return pb_1.Message.getFieldWithDefault(this, 6, 0);
|
|
550
540
|
}
|
|
551
541
|
set int64_value(value) {
|
|
552
|
-
pb_1.Message.setOneofField(this, 6,
|
|
542
|
+
pb_1.Message.setOneofField(this, 6, this.#one_of_decls[0], value);
|
|
553
543
|
}
|
|
554
544
|
get has_int64_value() {
|
|
555
545
|
return pb_1.Message.getField(this, 6) != null;
|
|
@@ -558,7 +548,7 @@ export var esriPBuffer;
|
|
|
558
548
|
return pb_1.Message.getFieldWithDefault(this, 7, 0);
|
|
559
549
|
}
|
|
560
550
|
set uint64_value(value) {
|
|
561
|
-
pb_1.Message.setOneofField(this, 7,
|
|
551
|
+
pb_1.Message.setOneofField(this, 7, this.#one_of_decls[0], value);
|
|
562
552
|
}
|
|
563
553
|
get has_uint64_value() {
|
|
564
554
|
return pb_1.Message.getField(this, 7) != null;
|
|
@@ -567,7 +557,7 @@ export var esriPBuffer;
|
|
|
567
557
|
return pb_1.Message.getFieldWithDefault(this, 8, 0);
|
|
568
558
|
}
|
|
569
559
|
set sint64_value(value) {
|
|
570
|
-
pb_1.Message.setOneofField(this, 8,
|
|
560
|
+
pb_1.Message.setOneofField(this, 8, this.#one_of_decls[0], value);
|
|
571
561
|
}
|
|
572
562
|
get has_sint64_value() {
|
|
573
563
|
return pb_1.Message.getField(this, 8) != null;
|
|
@@ -576,7 +566,7 @@ export var esriPBuffer;
|
|
|
576
566
|
return pb_1.Message.getFieldWithDefault(this, 9, false);
|
|
577
567
|
}
|
|
578
568
|
set bool_value(value) {
|
|
579
|
-
pb_1.Message.setOneofField(this, 9,
|
|
569
|
+
pb_1.Message.setOneofField(this, 9, this.#one_of_decls[0], value);
|
|
580
570
|
}
|
|
581
571
|
get has_bool_value() {
|
|
582
572
|
return pb_1.Message.getField(this, 9) != null;
|
|
@@ -726,13 +716,12 @@ export var esriPBuffer;
|
|
|
726
716
|
return Value.deserialize(bytes);
|
|
727
717
|
}
|
|
728
718
|
}
|
|
729
|
-
_Value_one_of_decls = new WeakMap();
|
|
730
719
|
FeatureCollectionPBuffer.Value = Value;
|
|
731
720
|
class Geometry extends pb_1.Message {
|
|
721
|
+
#one_of_decls = [];
|
|
732
722
|
constructor(data) {
|
|
733
723
|
super();
|
|
734
|
-
|
|
735
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2, 3], __classPrivateFieldGet(this, _Geometry_one_of_decls, "f"));
|
|
724
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2, 3], this.#one_of_decls);
|
|
736
725
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
737
726
|
if ("lengths" in data && data.lengths != undefined) {
|
|
738
727
|
this.lengths = data.lengths;
|
|
@@ -807,13 +796,12 @@ export var esriPBuffer;
|
|
|
807
796
|
return Geometry.deserialize(bytes);
|
|
808
797
|
}
|
|
809
798
|
}
|
|
810
|
-
_Geometry_one_of_decls = new WeakMap();
|
|
811
799
|
FeatureCollectionPBuffer.Geometry = Geometry;
|
|
812
800
|
class esriShapeBuffer extends pb_1.Message {
|
|
801
|
+
#one_of_decls = [];
|
|
813
802
|
constructor(data) {
|
|
814
803
|
super();
|
|
815
|
-
|
|
816
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _esriShapeBuffer_one_of_decls, "f"));
|
|
804
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
817
805
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
818
806
|
if ("bytes" in data && data.bytes != undefined) {
|
|
819
807
|
this.bytes = data.bytes;
|
|
@@ -868,13 +856,12 @@ export var esriPBuffer;
|
|
|
868
856
|
return esriShapeBuffer.deserialize(bytes);
|
|
869
857
|
}
|
|
870
858
|
}
|
|
871
|
-
_esriShapeBuffer_one_of_decls = new WeakMap();
|
|
872
859
|
FeatureCollectionPBuffer.esriShapeBuffer = esriShapeBuffer;
|
|
873
860
|
class Feature extends pb_1.Message {
|
|
861
|
+
#one_of_decls = [[2, 3]];
|
|
874
862
|
constructor(data) {
|
|
875
863
|
super();
|
|
876
|
-
|
|
877
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [1], __classPrivateFieldGet(this, _Feature_one_of_decls, "f"));
|
|
864
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [1], this.#one_of_decls);
|
|
878
865
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
879
866
|
if ("attributes" in data && data.attributes != undefined) {
|
|
880
867
|
this.attributes = data.attributes;
|
|
@@ -900,7 +887,7 @@ export var esriPBuffer;
|
|
|
900
887
|
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.Geometry, 2);
|
|
901
888
|
}
|
|
902
889
|
set geometry(value) {
|
|
903
|
-
pb_1.Message.setOneofWrapperField(this, 2,
|
|
890
|
+
pb_1.Message.setOneofWrapperField(this, 2, this.#one_of_decls[0], value);
|
|
904
891
|
}
|
|
905
892
|
get has_geometry() {
|
|
906
893
|
return pb_1.Message.getField(this, 2) != null;
|
|
@@ -909,7 +896,7 @@ export var esriPBuffer;
|
|
|
909
896
|
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.esriShapeBuffer, 3);
|
|
910
897
|
}
|
|
911
898
|
set shapeBuffer(value) {
|
|
912
|
-
pb_1.Message.setOneofWrapperField(this, 3,
|
|
899
|
+
pb_1.Message.setOneofWrapperField(this, 3, this.#one_of_decls[0], value);
|
|
913
900
|
}
|
|
914
901
|
get has_shapeBuffer() {
|
|
915
902
|
return pb_1.Message.getField(this, 3) != null;
|
|
@@ -1006,13 +993,12 @@ export var esriPBuffer;
|
|
|
1006
993
|
return Feature.deserialize(bytes);
|
|
1007
994
|
}
|
|
1008
995
|
}
|
|
1009
|
-
_Feature_one_of_decls = new WeakMap();
|
|
1010
996
|
FeatureCollectionPBuffer.Feature = Feature;
|
|
1011
997
|
class UniqueIdField extends pb_1.Message {
|
|
998
|
+
#one_of_decls = [];
|
|
1012
999
|
constructor(data) {
|
|
1013
1000
|
super();
|
|
1014
|
-
|
|
1015
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _UniqueIdField_one_of_decls, "f"));
|
|
1001
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1016
1002
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1017
1003
|
if ("name" in data && data.name != undefined) {
|
|
1018
1004
|
this.name = data.name;
|
|
@@ -1087,13 +1073,12 @@ export var esriPBuffer;
|
|
|
1087
1073
|
return UniqueIdField.deserialize(bytes);
|
|
1088
1074
|
}
|
|
1089
1075
|
}
|
|
1090
|
-
_UniqueIdField_one_of_decls = new WeakMap();
|
|
1091
1076
|
FeatureCollectionPBuffer.UniqueIdField = UniqueIdField;
|
|
1092
1077
|
class GeometryProperties extends pb_1.Message {
|
|
1078
|
+
#one_of_decls = [];
|
|
1093
1079
|
constructor(data) {
|
|
1094
1080
|
super();
|
|
1095
|
-
|
|
1096
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _GeometryProperties_one_of_decls, "f"));
|
|
1081
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1097
1082
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1098
1083
|
if ("shapeAreaFieldName" in data && data.shapeAreaFieldName != undefined) {
|
|
1099
1084
|
this.shapeAreaFieldName = data.shapeAreaFieldName;
|
|
@@ -1188,13 +1173,12 @@ export var esriPBuffer;
|
|
|
1188
1173
|
return GeometryProperties.deserialize(bytes);
|
|
1189
1174
|
}
|
|
1190
1175
|
}
|
|
1191
|
-
_GeometryProperties_one_of_decls = new WeakMap();
|
|
1192
1176
|
FeatureCollectionPBuffer.GeometryProperties = GeometryProperties;
|
|
1193
1177
|
class ServerGens extends pb_1.Message {
|
|
1178
|
+
#one_of_decls = [];
|
|
1194
1179
|
constructor(data) {
|
|
1195
1180
|
super();
|
|
1196
|
-
|
|
1197
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _ServerGens_one_of_decls, "f"));
|
|
1181
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1198
1182
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1199
1183
|
if ("minServerGen" in data && data.minServerGen != undefined) {
|
|
1200
1184
|
this.minServerGen = data.minServerGen;
|
|
@@ -1269,13 +1253,12 @@ export var esriPBuffer;
|
|
|
1269
1253
|
return ServerGens.deserialize(bytes);
|
|
1270
1254
|
}
|
|
1271
1255
|
}
|
|
1272
|
-
_ServerGens_one_of_decls = new WeakMap();
|
|
1273
1256
|
FeatureCollectionPBuffer.ServerGens = ServerGens;
|
|
1274
1257
|
class Scale extends pb_1.Message {
|
|
1258
|
+
#one_of_decls = [];
|
|
1275
1259
|
constructor(data) {
|
|
1276
1260
|
super();
|
|
1277
|
-
|
|
1278
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Scale_one_of_decls, "f"));
|
|
1261
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1279
1262
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1280
1263
|
if ("xScale" in data && data.xScale != undefined) {
|
|
1281
1264
|
this.xScale = data.xScale;
|
|
@@ -1390,13 +1373,12 @@ export var esriPBuffer;
|
|
|
1390
1373
|
return Scale.deserialize(bytes);
|
|
1391
1374
|
}
|
|
1392
1375
|
}
|
|
1393
|
-
_Scale_one_of_decls = new WeakMap();
|
|
1394
1376
|
FeatureCollectionPBuffer.Scale = Scale;
|
|
1395
1377
|
class Translate extends pb_1.Message {
|
|
1378
|
+
#one_of_decls = [];
|
|
1396
1379
|
constructor(data) {
|
|
1397
1380
|
super();
|
|
1398
|
-
|
|
1399
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Translate_one_of_decls, "f"));
|
|
1381
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1400
1382
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1401
1383
|
if ("xTranslate" in data && data.xTranslate != undefined) {
|
|
1402
1384
|
this.xTranslate = data.xTranslate;
|
|
@@ -1511,13 +1493,12 @@ export var esriPBuffer;
|
|
|
1511
1493
|
return Translate.deserialize(bytes);
|
|
1512
1494
|
}
|
|
1513
1495
|
}
|
|
1514
|
-
_Translate_one_of_decls = new WeakMap();
|
|
1515
1496
|
FeatureCollectionPBuffer.Translate = Translate;
|
|
1516
1497
|
class Transform extends pb_1.Message {
|
|
1498
|
+
#one_of_decls = [];
|
|
1517
1499
|
constructor(data) {
|
|
1518
1500
|
super();
|
|
1519
|
-
|
|
1520
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Transform_one_of_decls, "f"));
|
|
1501
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1521
1502
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1522
1503
|
if ("quantizeOriginPostion" in data && data.quantizeOriginPostion != undefined) {
|
|
1523
1504
|
this.quantizeOriginPostion = data.quantizeOriginPostion;
|
|
@@ -1618,13 +1599,12 @@ export var esriPBuffer;
|
|
|
1618
1599
|
return Transform.deserialize(bytes);
|
|
1619
1600
|
}
|
|
1620
1601
|
}
|
|
1621
|
-
_Transform_one_of_decls = new WeakMap();
|
|
1622
1602
|
FeatureCollectionPBuffer.Transform = Transform;
|
|
1623
1603
|
class FeatureResult extends pb_1.Message {
|
|
1604
|
+
#one_of_decls = [];
|
|
1624
1605
|
constructor(data) {
|
|
1625
1606
|
super();
|
|
1626
|
-
|
|
1627
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [13, 14, 15], __classPrivateFieldGet(this, _FeatureResult_one_of_decls, "f"));
|
|
1607
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [13, 14, 15], this.#one_of_decls);
|
|
1628
1608
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1629
1609
|
if ("objectIdFieldName" in data && data.objectIdFieldName != undefined) {
|
|
1630
1610
|
this.objectIdFieldName = data.objectIdFieldName;
|
|
@@ -1974,13 +1954,12 @@ export var esriPBuffer;
|
|
|
1974
1954
|
return FeatureResult.deserialize(bytes);
|
|
1975
1955
|
}
|
|
1976
1956
|
}
|
|
1977
|
-
_FeatureResult_one_of_decls = new WeakMap();
|
|
1978
1957
|
FeatureCollectionPBuffer.FeatureResult = FeatureResult;
|
|
1979
1958
|
class CountResult extends pb_1.Message {
|
|
1959
|
+
#one_of_decls = [];
|
|
1980
1960
|
constructor(data) {
|
|
1981
1961
|
super();
|
|
1982
|
-
|
|
1983
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _CountResult_one_of_decls, "f"));
|
|
1962
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
1984
1963
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
1985
1964
|
if ("count" in data && data.count != undefined) {
|
|
1986
1965
|
this.count = data.count;
|
|
@@ -2035,13 +2014,12 @@ export var esriPBuffer;
|
|
|
2035
2014
|
return CountResult.deserialize(bytes);
|
|
2036
2015
|
}
|
|
2037
2016
|
}
|
|
2038
|
-
_CountResult_one_of_decls = new WeakMap();
|
|
2039
2017
|
FeatureCollectionPBuffer.CountResult = CountResult;
|
|
2040
2018
|
class ObjectIdsResult extends pb_1.Message {
|
|
2019
|
+
#one_of_decls = [];
|
|
2041
2020
|
constructor(data) {
|
|
2042
2021
|
super();
|
|
2043
|
-
|
|
2044
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [3], __classPrivateFieldGet(this, _ObjectIdsResult_one_of_decls, "f"));
|
|
2022
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [3], this.#one_of_decls);
|
|
2045
2023
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
2046
2024
|
if ("objectIdFieldName" in data && data.objectIdFieldName != undefined) {
|
|
2047
2025
|
this.objectIdFieldName = data.objectIdFieldName;
|
|
@@ -2139,13 +2117,12 @@ export var esriPBuffer;
|
|
|
2139
2117
|
return ObjectIdsResult.deserialize(bytes);
|
|
2140
2118
|
}
|
|
2141
2119
|
}
|
|
2142
|
-
_ObjectIdsResult_one_of_decls = new WeakMap();
|
|
2143
2120
|
FeatureCollectionPBuffer.ObjectIdsResult = ObjectIdsResult;
|
|
2144
2121
|
class QueryResult extends pb_1.Message {
|
|
2122
|
+
#one_of_decls = [[1, 2, 3]];
|
|
2145
2123
|
constructor(data) {
|
|
2146
2124
|
super();
|
|
2147
|
-
|
|
2148
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _QueryResult_one_of_decls, "f"));
|
|
2125
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
2149
2126
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
2150
2127
|
if ("featureResult" in data && data.featureResult != undefined) {
|
|
2151
2128
|
this.featureResult = data.featureResult;
|
|
@@ -2162,7 +2139,7 @@ export var esriPBuffer;
|
|
|
2162
2139
|
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.FeatureResult, 1);
|
|
2163
2140
|
}
|
|
2164
2141
|
set featureResult(value) {
|
|
2165
|
-
pb_1.Message.setOneofWrapperField(this, 1,
|
|
2142
|
+
pb_1.Message.setOneofWrapperField(this, 1, this.#one_of_decls[0], value);
|
|
2166
2143
|
}
|
|
2167
2144
|
get has_featureResult() {
|
|
2168
2145
|
return pb_1.Message.getField(this, 1) != null;
|
|
@@ -2171,7 +2148,7 @@ export var esriPBuffer;
|
|
|
2171
2148
|
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.CountResult, 2);
|
|
2172
2149
|
}
|
|
2173
2150
|
set countResult(value) {
|
|
2174
|
-
pb_1.Message.setOneofWrapperField(this, 2,
|
|
2151
|
+
pb_1.Message.setOneofWrapperField(this, 2, this.#one_of_decls[0], value);
|
|
2175
2152
|
}
|
|
2176
2153
|
get has_countResult() {
|
|
2177
2154
|
return pb_1.Message.getField(this, 2) != null;
|
|
@@ -2180,7 +2157,7 @@ export var esriPBuffer;
|
|
|
2180
2157
|
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.ObjectIdsResult, 3);
|
|
2181
2158
|
}
|
|
2182
2159
|
set idsResult(value) {
|
|
2183
|
-
pb_1.Message.setOneofWrapperField(this, 3,
|
|
2160
|
+
pb_1.Message.setOneofWrapperField(this, 3, this.#one_of_decls[0], value);
|
|
2184
2161
|
}
|
|
2185
2162
|
get has_idsResult() {
|
|
2186
2163
|
return pb_1.Message.getField(this, 3) != null;
|
|
@@ -2258,7 +2235,6 @@ export var esriPBuffer;
|
|
|
2258
2235
|
return QueryResult.deserialize(bytes);
|
|
2259
2236
|
}
|
|
2260
2237
|
}
|
|
2261
|
-
_QueryResult_one_of_decls = new WeakMap();
|
|
2262
2238
|
FeatureCollectionPBuffer.QueryResult = QueryResult;
|
|
2263
2239
|
})(FeatureCollectionPBuffer = esriPBuffer.FeatureCollectionPBuffer || (esriPBuffer.FeatureCollectionPBuffer = {}));
|
|
2264
2240
|
})(esriPBuffer || (esriPBuffer = {}));
|