@igo2/geo 20.1.1 → 20.2.0
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/fesm2022/igo2-geo.mjs +3 -0
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +5 -5
package/fesm2022/igo2-geo.mjs
CHANGED
|
@@ -3876,6 +3876,7 @@ var QueryFormat;
|
|
|
3876
3876
|
QueryFormat["GML2"] = "gml2";
|
|
3877
3877
|
QueryFormat["GML3"] = "gml3";
|
|
3878
3878
|
QueryFormat["JSON"] = "json";
|
|
3879
|
+
QueryFormat["GEO_PLUS_JSON"] = "geo+json";
|
|
3879
3880
|
QueryFormat["GEOJSON"] = "geojson";
|
|
3880
3881
|
QueryFormat["GEOJSON2"] = "geojson2";
|
|
3881
3882
|
QueryFormat["ESRIJSON"] = "esrijson";
|
|
@@ -3888,6 +3889,7 @@ var QueryFormatMimeType;
|
|
|
3888
3889
|
QueryFormatMimeType["GML2"] = "application/vnd.ogc.gml";
|
|
3889
3890
|
QueryFormatMimeType["GML3"] = "application/vnd.ogc.gml/3.1.1";
|
|
3890
3891
|
QueryFormatMimeType["JSON"] = "application/json";
|
|
3892
|
+
QueryFormatMimeType["GEO_PLUS_JSON"] = "application/geo+json";
|
|
3891
3893
|
QueryFormatMimeType["GEOJSON"] = "application/geojson";
|
|
3892
3894
|
QueryFormatMimeType["GEOJSON2"] = "geojson";
|
|
3893
3895
|
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
|
|
@@ -16883,6 +16885,7 @@ class QueryService {
|
|
|
16883
16885
|
case QueryFormat.JSON:
|
|
16884
16886
|
case QueryFormat.GEOJSON:
|
|
16885
16887
|
case QueryFormat.GEOJSON2:
|
|
16888
|
+
case QueryFormat.GEO_PLUS_JSON:
|
|
16886
16889
|
features = this.extractGeoJSONData(res, layer.zIndex, allowedFieldsAndAlias);
|
|
16887
16890
|
break;
|
|
16888
16891
|
case QueryFormat.ESRIJSON:
|