@smart-factor/gem-ui-map-component 0.0.19 → 0.0.20
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/{MapButtons-CcIHdsKh.js → MapButtons-jqCWr3CL.js} +11074 -11057
- package/dist/components/Map/Map.d.ts +1 -1
- package/dist/components/Map/types.d.ts +1 -0
- package/dist/components/MapButtons/index.js +1 -1
- package/dist/hooks/useSetupMap.d.ts +1 -1
- package/dist/main.js +491 -487
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MapExternalProps } from './types';
|
|
2
|
-
declare const MapWithProviders: ({ mapLayers, caseObjectId, sidebarConfig, mapButtonsConfig, mapElementsConfig, setOuterDrawnGeometries, setOuterSelectedMapObjects, selectedFeatures, multiSelectEnabled, }: MapExternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MapWithProviders: ({ id, mapLayers, caseObjectId, sidebarConfig, mapButtonsConfig, mapElementsConfig, setOuterDrawnGeometries, setOuterSelectedMapObjects, selectedFeatures, multiSelectEnabled, }: MapExternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MapWithProviders;
|
|
@@ -171,6 +171,7 @@ export type SelectedFeature = {
|
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
173
|
export interface MapExternalProps extends MapConfig {
|
|
174
|
+
id?: string;
|
|
174
175
|
mapLayers: MapLayer[];
|
|
175
176
|
setOuterDrawnGeometries?: (drawnGeometries: DrawnGeometryParam) => void;
|
|
176
177
|
setOuterSelectedMapObjects?: (selectedMapObjects: Feature<GeometryOl>[] | null) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MapLayer, SelectedFeature } from '../components/Map/types';
|
|
2
2
|
export declare const GEOLOCATION_LAYER = "geolocationLayer";
|
|
3
|
-
export declare const useSetupMap: (mapLayers: MapLayer[], caseObjectId: number, initialSelectedFeatures?: SelectedFeature[], multiSelectEnabled?: boolean) => void;
|
|
3
|
+
export declare const useSetupMap: (id: string, mapLayers: MapLayer[], caseObjectId: number, initialSelectedFeatures?: SelectedFeature[], multiSelectEnabled?: boolean) => void;
|