@feltmaps/js-sdk 1.5.0-next.17 → 1.5.0-next.18

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.
@@ -1,5 +1,5 @@
1
1
  import { z, ZodError } from 'zod';
2
- import { Q as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, m as LayerGroup, q as LegendItem, t as LayerFilters, v as LayerFeature, w as GeoJsonFeature, y as GetLayerCategoriesGroup, A as GetLayerHistogramBin, B as AggregationMethod, D as LayerSchema, i as LayerChangeCallbackParams, o as LayerGroupChangeCallbackParams, s as LegendItemChangeCallbackParams, aB as FilterTernary, H as MapDetails, I as EntityNode, T as ToolType, O as ToolSettingsMap, P as ToolSettingsChangeEvent, V as ViewportState, W as ViewportConstraints, b5 as UnionToIntersection, b6 as PromiseOrNot } from './types-DrMm8Los.cjs';
2
+ import { Q as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, m as LayerGroup, q as LegendItem, t as LayerFilters, v as LayerFeature, w as GeoJsonFeature, y as GetLayerCategoriesGroup, A as GetLayerHistogramBin, B as AggregationMethod, D as LayerSchema, i as LayerChangeCallbackParams, o as LayerGroupChangeCallbackParams, s as LegendItemChangeCallbackParams, aB as FilterTernary, H as MapDetails, I as EntityNode, T as ToolType, O as ToolSettingsMap, P as ToolSettingsChangeEvent, V as ViewportState, W as ViewportConstraints, b6 as UnionToIntersection, b7 as PromiseOrNot } from './types-Cy5ifEPb.cjs';
3
3
 
4
4
  type Method<TRequest extends {
5
5
  type: string;
@@ -1962,241 +1962,162 @@ declare const SetLayerLegendVisibilityMessage: z.ZodObject<{
1962
1962
  };
1963
1963
  type: "setLayerLegendVisibility";
1964
1964
  }>;
1965
- declare const createLayerMessage: z.ZodObject<{
1966
- type: z.ZodLiteral<"createLayer">;
1967
- params: z.ZodObject<{
1968
- source: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1969
- type: z.ZodLiteral<"application/geo+json">;
1970
- name: z.ZodString;
1971
- geometryStyles: z.ZodOptional<z.ZodObject<{
1972
- Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1973
- Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1974
- Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1975
- }, "strip", z.ZodTypeAny, {
1976
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1977
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1978
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1979
- }, {
1980
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1981
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1982
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1983
- }>>;
1984
- }, {
1985
- arrayBuffer: z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>;
1986
- }>, "strip", z.ZodTypeAny, {
1987
- type: "application/geo+json";
1988
- name: string;
1989
- arrayBuffer: ArrayBuffer;
1990
- geometryStyles?: {
1991
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1992
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1993
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1994
- } | undefined;
1995
- }, {
1996
- type: "application/geo+json";
1997
- name: string;
1998
- arrayBuffer: ArrayBuffer;
1999
- geometryStyles?: {
2000
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2001
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2002
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2003
- } | undefined;
2004
- }>, z.ZodObject<z.objectUtil.extendShape<{
2005
- type: z.ZodLiteral<"application/geo+json">;
2006
- name: z.ZodString;
2007
- geometryStyles: z.ZodOptional<z.ZodObject<{
2008
- Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2009
- Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2010
- Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2011
- }, "strip", z.ZodTypeAny, {
2012
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2013
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2014
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2015
- }, {
2016
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2017
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2018
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2019
- }>>;
2020
- }, {
2021
- file: z.ZodType<File, z.ZodTypeDef, File>;
2022
- }>, "strip", z.ZodTypeAny, {
2023
- type: "application/geo+json";
2024
- name: string;
2025
- file: File;
2026
- geometryStyles?: {
2027
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2028
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2029
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2030
- } | undefined;
1965
+ declare const CreateLayersFromGeoJsonMessage: z.ZodObject<{
1966
+ type: z.ZodLiteral<"createLayersFromGeoJson">;
1967
+ params: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1968
+ name: z.ZodString;
1969
+ geometryStyles: z.ZodOptional<z.ZodObject<{
1970
+ Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1971
+ Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1972
+ Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1975
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1976
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2031
1977
  }, {
2032
- type: "application/geo+json";
2033
- name: string;
2034
- file: File;
2035
- geometryStyles?: {
2036
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2037
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2038
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2039
- } | undefined;
2040
- }>, z.ZodObject<z.objectUtil.extendShape<{
2041
- type: z.ZodLiteral<"application/geo+json">;
2042
- name: z.ZodString;
2043
- geometryStyles: z.ZodOptional<z.ZodObject<{
2044
- Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2045
- Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2046
- Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2047
- }, "strip", z.ZodTypeAny, {
2048
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2049
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2050
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2051
- }, {
2052
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2053
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2054
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2055
- }>>;
1978
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1979
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1980
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1981
+ }>>;
1982
+ }, {
1983
+ arrayBuffer: z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>;
1984
+ }>, "strip", z.ZodTypeAny, {
1985
+ name: string;
1986
+ arrayBuffer: ArrayBuffer;
1987
+ geometryStyles?: {
1988
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1989
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1990
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1991
+ } | undefined;
1992
+ }, {
1993
+ name: string;
1994
+ arrayBuffer: ArrayBuffer;
1995
+ geometryStyles?: {
1996
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1997
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1998
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1999
+ } | undefined;
2000
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2001
+ name: z.ZodString;
2002
+ geometryStyles: z.ZodOptional<z.ZodObject<{
2003
+ Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2004
+ Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2005
+ Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2008
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2009
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2056
2010
  }, {
2057
- url: z.ZodString;
2058
- }>, "strip", z.ZodTypeAny, {
2059
- type: "application/geo+json";
2060
- name: string;
2061
- url: string;
2062
- geometryStyles?: {
2063
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2064
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2065
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2066
- } | undefined;
2011
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2012
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2013
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2014
+ }>>;
2015
+ }, {
2016
+ file: z.ZodType<File, z.ZodTypeDef, File>;
2017
+ }>, "strip", z.ZodTypeAny, {
2018
+ name: string;
2019
+ file: File;
2020
+ geometryStyles?: {
2021
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2022
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2023
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2024
+ } | undefined;
2025
+ }, {
2026
+ name: string;
2027
+ file: File;
2028
+ geometryStyles?: {
2029
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2030
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2031
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2032
+ } | undefined;
2033
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2034
+ name: z.ZodString;
2035
+ geometryStyles: z.ZodOptional<z.ZodObject<{
2036
+ Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2037
+ Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2038
+ Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2039
+ }, "strip", z.ZodTypeAny, {
2040
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2041
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2042
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2067
2043
  }, {
2068
- type: "application/geo+json";
2069
- name: string;
2070
- url: string;
2071
- geometryStyles?: {
2072
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2073
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2074
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2075
- } | undefined;
2076
- }>]>;
2077
- }, "strip", z.ZodTypeAny, {
2078
- source: {
2079
- type: "application/geo+json";
2080
- name: string;
2081
- arrayBuffer: ArrayBuffer;
2082
- geometryStyles?: {
2083
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2084
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2085
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2086
- } | undefined;
2087
- } | {
2088
- type: "application/geo+json";
2089
- name: string;
2090
- file: File;
2091
- geometryStyles?: {
2092
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2093
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2094
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2095
- } | undefined;
2096
- } | {
2097
- type: "application/geo+json";
2098
- name: string;
2099
- url: string;
2100
- geometryStyles?: {
2101
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2102
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2103
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2104
- } | undefined;
2105
- };
2044
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2045
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2046
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2047
+ }>>;
2106
2048
  }, {
2107
- source: {
2108
- type: "application/geo+json";
2109
- name: string;
2110
- arrayBuffer: ArrayBuffer;
2111
- geometryStyles?: {
2112
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2113
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2114
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2115
- } | undefined;
2116
- } | {
2117
- type: "application/geo+json";
2118
- name: string;
2119
- file: File;
2120
- geometryStyles?: {
2121
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2122
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2123
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2124
- } | undefined;
2125
- } | {
2126
- type: "application/geo+json";
2127
- name: string;
2128
- url: string;
2129
- geometryStyles?: {
2130
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2131
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2132
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2133
- } | undefined;
2134
- };
2135
- }>;
2049
+ url: z.ZodString;
2050
+ }>, "strip", z.ZodTypeAny, {
2051
+ name: string;
2052
+ url: string;
2053
+ geometryStyles?: {
2054
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2055
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2056
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2057
+ } | undefined;
2058
+ }, {
2059
+ name: string;
2060
+ url: string;
2061
+ geometryStyles?: {
2062
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2063
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2064
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2065
+ } | undefined;
2066
+ }>]>;
2136
2067
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2137
2068
  params: {
2138
- source: {
2139
- type: "application/geo+json";
2140
- name: string;
2141
- arrayBuffer: ArrayBuffer;
2142
- geometryStyles?: {
2143
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2144
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2145
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2146
- } | undefined;
2147
- } | {
2148
- type: "application/geo+json";
2149
- name: string;
2150
- file: File;
2151
- geometryStyles?: {
2152
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2153
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2154
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2155
- } | undefined;
2156
- } | {
2157
- type: "application/geo+json";
2158
- name: string;
2159
- url: string;
2160
- geometryStyles?: {
2161
- Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2162
- Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2163
- Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2164
- } | undefined;
2165
- };
2069
+ name: string;
2070
+ arrayBuffer: ArrayBuffer;
2071
+ geometryStyles?: {
2072
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2073
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2074
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2075
+ } | undefined;
2076
+ } | {
2077
+ name: string;
2078
+ file: File;
2079
+ geometryStyles?: {
2080
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2081
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2082
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2083
+ } | undefined;
2084
+ } | {
2085
+ name: string;
2086
+ url: string;
2087
+ geometryStyles?: {
2088
+ Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2089
+ Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2090
+ Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2091
+ } | undefined;
2166
2092
  };
2167
- type: "createLayer";
2093
+ type: "createLayersFromGeoJson";
2168
2094
  }, {
2169
2095
  params: {
2170
- source: {
2171
- type: "application/geo+json";
2172
- name: string;
2173
- arrayBuffer: ArrayBuffer;
2174
- geometryStyles?: {
2175
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2176
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2177
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2178
- } | undefined;
2179
- } | {
2180
- type: "application/geo+json";
2181
- name: string;
2182
- file: File;
2183
- geometryStyles?: {
2184
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2185
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2186
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2187
- } | undefined;
2188
- } | {
2189
- type: "application/geo+json";
2190
- name: string;
2191
- url: string;
2192
- geometryStyles?: {
2193
- Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2194
- Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2195
- Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2196
- } | undefined;
2197
- };
2096
+ name: string;
2097
+ arrayBuffer: ArrayBuffer;
2098
+ geometryStyles?: {
2099
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2100
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2101
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2102
+ } | undefined;
2103
+ } | {
2104
+ name: string;
2105
+ file: File;
2106
+ geometryStyles?: {
2107
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2108
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2109
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2110
+ } | undefined;
2111
+ } | {
2112
+ name: string;
2113
+ url: string;
2114
+ geometryStyles?: {
2115
+ Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2116
+ Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2117
+ Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2118
+ } | undefined;
2198
2119
  };
2199
- type: "createLayer";
2120
+ type: "createLayersFromGeoJson";
2200
2121
  }>;
2201
2122
  declare const DeleteLayerMessage: z.ZodObject<{
2202
2123
  type: z.ZodLiteral<"deleteLayer">;
@@ -2685,6 +2606,15 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2685
2606
  }, {
2686
2607
  type: "Polygon";
2687
2608
  coordinates: [number, number][][];
2609
+ }>, z.ZodObject<{
2610
+ type: z.ZodLiteral<"MultiPolygon">;
2611
+ coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
2612
+ }, "strip", z.ZodTypeAny, {
2613
+ type: "MultiPolygon";
2614
+ coordinates: [number, number][][][];
2615
+ }, {
2616
+ type: "MultiPolygon";
2617
+ coordinates: [number, number][][][];
2688
2618
  }>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
2689
2619
  filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
2690
2620
  values: z.ZodOptional<z.ZodObject<{
@@ -2697,6 +2627,15 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2697
2627
  }, {
2698
2628
  type: "Polygon";
2699
2629
  coordinates: [number, number][][];
2630
+ }>, z.ZodObject<{
2631
+ type: z.ZodLiteral<"MultiPolygon">;
2632
+ coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
2633
+ }, "strip", z.ZodTypeAny, {
2634
+ type: "MultiPolygon";
2635
+ coordinates: [number, number][][][];
2636
+ }, {
2637
+ type: "MultiPolygon";
2638
+ coordinates: [number, number][][][];
2700
2639
  }>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
2701
2640
  filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
2702
2641
  aggregation: z.ZodOptional<z.ZodObject<{
@@ -2713,6 +2652,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2713
2652
  boundary?: [number, number, number, number] | [number, number][] | {
2714
2653
  type: "Polygon";
2715
2654
  coordinates: [number, number][][];
2655
+ } | {
2656
+ type: "MultiPolygon";
2657
+ coordinates: [number, number][][][];
2716
2658
  } | undefined;
2717
2659
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2718
2660
  aggregation?: {
@@ -2723,6 +2665,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2723
2665
  boundary?: [number, number, number, number] | [number, number][] | {
2724
2666
  type: "Polygon";
2725
2667
  coordinates: [number, number][][];
2668
+ } | {
2669
+ type: "MultiPolygon";
2670
+ coordinates: [number, number][][][];
2726
2671
  } | undefined;
2727
2672
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2728
2673
  aggregation?: {
@@ -2737,6 +2682,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2737
2682
  boundary?: [number, number, number, number] | [number, number][] | {
2738
2683
  type: "Polygon";
2739
2684
  coordinates: [number, number][][];
2685
+ } | {
2686
+ type: "MultiPolygon";
2687
+ coordinates: [number, number][][][];
2740
2688
  } | undefined;
2741
2689
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2742
2690
  aggregation?: {
@@ -2747,6 +2695,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2747
2695
  boundary?: [number, number, number, number] | [number, number][] | {
2748
2696
  type: "Polygon";
2749
2697
  coordinates: [number, number][][];
2698
+ } | {
2699
+ type: "MultiPolygon";
2700
+ coordinates: [number, number][][][];
2750
2701
  } | undefined;
2751
2702
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2752
2703
  limit?: number | undefined;
@@ -2757,6 +2708,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2757
2708
  boundary?: [number, number, number, number] | [number, number][] | {
2758
2709
  type: "Polygon";
2759
2710
  coordinates: [number, number][][];
2711
+ } | {
2712
+ type: "MultiPolygon";
2713
+ coordinates: [number, number][][][];
2760
2714
  } | undefined;
2761
2715
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2762
2716
  aggregation?: {
@@ -2767,6 +2721,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2767
2721
  boundary?: [number, number, number, number] | [number, number][] | {
2768
2722
  type: "Polygon";
2769
2723
  coordinates: [number, number][][];
2724
+ } | {
2725
+ type: "MultiPolygon";
2726
+ coordinates: [number, number][][][];
2770
2727
  } | undefined;
2771
2728
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2772
2729
  limit?: number | undefined;
@@ -2779,6 +2736,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2779
2736
  boundary?: [number, number, number, number] | [number, number][] | {
2780
2737
  type: "Polygon";
2781
2738
  coordinates: [number, number][][];
2739
+ } | {
2740
+ type: "MultiPolygon";
2741
+ coordinates: [number, number][][][];
2782
2742
  } | undefined;
2783
2743
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2784
2744
  aggregation?: {
@@ -2789,6 +2749,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2789
2749
  boundary?: [number, number, number, number] | [number, number][] | {
2790
2750
  type: "Polygon";
2791
2751
  coordinates: [number, number][][];
2752
+ } | {
2753
+ type: "MultiPolygon";
2754
+ coordinates: [number, number][][][];
2792
2755
  } | undefined;
2793
2756
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2794
2757
  limit?: number | undefined;
@@ -2802,6 +2765,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2802
2765
  boundary?: [number, number, number, number] | [number, number][] | {
2803
2766
  type: "Polygon";
2804
2767
  coordinates: [number, number][][];
2768
+ } | {
2769
+ type: "MultiPolygon";
2770
+ coordinates: [number, number][][][];
2805
2771
  } | undefined;
2806
2772
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2807
2773
  aggregation?: {
@@ -2812,6 +2778,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
2812
2778
  boundary?: [number, number, number, number] | [number, number][] | {
2813
2779
  type: "Polygon";
2814
2780
  coordinates: [number, number][][];
2781
+ } | {
2782
+ type: "MultiPolygon";
2783
+ coordinates: [number, number][][][];
2815
2784
  } | undefined;
2816
2785
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2817
2786
  limit?: number | undefined;
@@ -2851,6 +2820,15 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2851
2820
  }, {
2852
2821
  type: "Polygon";
2853
2822
  coordinates: [number, number][][];
2823
+ }>, z.ZodObject<{
2824
+ type: z.ZodLiteral<"MultiPolygon">;
2825
+ coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
2826
+ }, "strip", z.ZodTypeAny, {
2827
+ type: "MultiPolygon";
2828
+ coordinates: [number, number][][][];
2829
+ }, {
2830
+ type: "MultiPolygon";
2831
+ coordinates: [number, number][][][];
2854
2832
  }>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
2855
2833
  filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
2856
2834
  values: z.ZodOptional<z.ZodObject<{
@@ -2863,6 +2841,15 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2863
2841
  }, {
2864
2842
  type: "Polygon";
2865
2843
  coordinates: [number, number][][];
2844
+ }>, z.ZodObject<{
2845
+ type: z.ZodLiteral<"MultiPolygon">;
2846
+ coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
2847
+ }, "strip", z.ZodTypeAny, {
2848
+ type: "MultiPolygon";
2849
+ coordinates: [number, number][][][];
2850
+ }, {
2851
+ type: "MultiPolygon";
2852
+ coordinates: [number, number][][][];
2866
2853
  }>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
2867
2854
  filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
2868
2855
  aggregation: z.ZodOptional<z.ZodObject<{
@@ -2879,6 +2866,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2879
2866
  boundary?: [number, number, number, number] | [number, number][] | {
2880
2867
  type: "Polygon";
2881
2868
  coordinates: [number, number][][];
2869
+ } | {
2870
+ type: "MultiPolygon";
2871
+ coordinates: [number, number][][][];
2882
2872
  } | undefined;
2883
2873
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2884
2874
  aggregation?: {
@@ -2889,6 +2879,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2889
2879
  boundary?: [number, number, number, number] | [number, number][] | {
2890
2880
  type: "Polygon";
2891
2881
  coordinates: [number, number][][];
2882
+ } | {
2883
+ type: "MultiPolygon";
2884
+ coordinates: [number, number][][][];
2892
2885
  } | undefined;
2893
2886
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2894
2887
  aggregation?: {
@@ -2910,6 +2903,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2910
2903
  boundary?: [number, number, number, number] | [number, number][] | {
2911
2904
  type: "Polygon";
2912
2905
  coordinates: [number, number][][];
2906
+ } | {
2907
+ type: "MultiPolygon";
2908
+ coordinates: [number, number][][][];
2913
2909
  } | undefined;
2914
2910
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2915
2911
  aggregation?: {
@@ -2920,6 +2916,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2920
2916
  boundary?: [number, number, number, number] | [number, number][] | {
2921
2917
  type: "Polygon";
2922
2918
  coordinates: [number, number][][];
2919
+ } | {
2920
+ type: "MultiPolygon";
2921
+ coordinates: [number, number][][][];
2923
2922
  } | undefined;
2924
2923
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2925
2924
  }, {
@@ -2936,6 +2935,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2936
2935
  boundary?: [number, number, number, number] | [number, number][] | {
2937
2936
  type: "Polygon";
2938
2937
  coordinates: [number, number][][];
2938
+ } | {
2939
+ type: "MultiPolygon";
2940
+ coordinates: [number, number][][][];
2939
2941
  } | undefined;
2940
2942
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2941
2943
  aggregation?: {
@@ -2946,6 +2948,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2946
2948
  boundary?: [number, number, number, number] | [number, number][] | {
2947
2949
  type: "Polygon";
2948
2950
  coordinates: [number, number][][];
2951
+ } | {
2952
+ type: "MultiPolygon";
2953
+ coordinates: [number, number][][][];
2949
2954
  } | undefined;
2950
2955
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2951
2956
  }>;
@@ -2964,6 +2969,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2964
2969
  boundary?: [number, number, number, number] | [number, number][] | {
2965
2970
  type: "Polygon";
2966
2971
  coordinates: [number, number][][];
2972
+ } | {
2973
+ type: "MultiPolygon";
2974
+ coordinates: [number, number][][][];
2967
2975
  } | undefined;
2968
2976
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2969
2977
  aggregation?: {
@@ -2974,6 +2982,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2974
2982
  boundary?: [number, number, number, number] | [number, number][] | {
2975
2983
  type: "Polygon";
2976
2984
  coordinates: [number, number][][];
2985
+ } | {
2986
+ type: "MultiPolygon";
2987
+ coordinates: [number, number][][][];
2977
2988
  } | undefined;
2978
2989
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2979
2990
  };
@@ -2993,6 +3004,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
2993
3004
  boundary?: [number, number, number, number] | [number, number][] | {
2994
3005
  type: "Polygon";
2995
3006
  coordinates: [number, number][][];
3007
+ } | {
3008
+ type: "MultiPolygon";
3009
+ coordinates: [number, number][][][];
2996
3010
  } | undefined;
2997
3011
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
2998
3012
  aggregation?: {
@@ -3003,6 +3017,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
3003
3017
  boundary?: [number, number, number, number] | [number, number][] | {
3004
3018
  type: "Polygon";
3005
3019
  coordinates: [number, number][][];
3020
+ } | {
3021
+ type: "MultiPolygon";
3022
+ coordinates: [number, number][][][];
3006
3023
  } | undefined;
3007
3024
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
3008
3025
  };
@@ -3021,6 +3038,15 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
3021
3038
  }, {
3022
3039
  type: "Polygon";
3023
3040
  coordinates: [number, number][][];
3041
+ }>, z.ZodObject<{
3042
+ type: z.ZodLiteral<"MultiPolygon">;
3043
+ coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
3044
+ }, "strip", z.ZodTypeAny, {
3045
+ type: "MultiPolygon";
3046
+ coordinates: [number, number][][][];
3047
+ }, {
3048
+ type: "MultiPolygon";
3049
+ coordinates: [number, number][][][];
3024
3050
  }>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
3025
3051
  filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
3026
3052
  aggregation: z.ZodObject<{
@@ -3042,6 +3068,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
3042
3068
  boundary?: [number, number, number, number] | [number, number][] | {
3043
3069
  type: "Polygon";
3044
3070
  coordinates: [number, number][][];
3071
+ } | {
3072
+ type: "MultiPolygon";
3073
+ coordinates: [number, number][][][];
3045
3074
  } | undefined;
3046
3075
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
3047
3076
  }, {
@@ -3053,6 +3082,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
3053
3082
  boundary?: [number, number, number, number] | [number, number][] | {
3054
3083
  type: "Polygon";
3055
3084
  coordinates: [number, number][][];
3085
+ } | {
3086
+ type: "MultiPolygon";
3087
+ coordinates: [number, number][][][];
3056
3088
  } | undefined;
3057
3089
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
3058
3090
  }>;
@@ -3066,6 +3098,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
3066
3098
  boundary?: [number, number, number, number] | [number, number][] | {
3067
3099
  type: "Polygon";
3068
3100
  coordinates: [number, number][][];
3101
+ } | {
3102
+ type: "MultiPolygon";
3103
+ coordinates: [number, number][][][];
3069
3104
  } | undefined;
3070
3105
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
3071
3106
  };
@@ -3080,6 +3115,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
3080
3115
  boundary?: [number, number, number, number] | [number, number][] | {
3081
3116
  type: "Polygon";
3082
3117
  coordinates: [number, number][][];
3118
+ } | {
3119
+ type: "MultiPolygon";
3120
+ coordinates: [number, number][][][];
3083
3121
  } | undefined;
3084
3122
  filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
3085
3123
  };
@@ -3102,7 +3140,10 @@ type LayersSchema = {
3102
3140
  setLayerVisibility: Method<zInfer<typeof SetLayerVisibilityMessage>, void>;
3103
3141
  setLayerStyle: Method<zInfer<typeof SetLayerStyleMessage>, void>;
3104
3142
  setLayerLegendVisibility: Method<zInfer<typeof SetLayerLegendVisibilityMessage>, void>;
3105
- createLayer: Method<zInfer<typeof createLayerMessage>, LayerGroup | null>;
3143
+ createLayersFromGeoJson: Method<zInfer<typeof CreateLayersFromGeoJsonMessage>, {
3144
+ layerGroup: LayerGroup;
3145
+ layers: Array<Layer>;
3146
+ } | null>;
3106
3147
  deleteLayer: Method<zInfer<typeof DeleteLayerMessage>, void>;
3107
3148
  getLayerGroup: Method<zInfer<typeof GetGroupMessage>, LayerGroup | null>;
3108
3149
  getLayerGroups: Method<zInfer<typeof GetGroupsMessage>, Array<LayerGroup | null>>;