@map-colonies/react-components 4.12.0 → 4.13.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.
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { Feature } from 'geojson';
2
3
  type Method = 'GET' | 'POST';
3
4
  type UrlGroup = {
4
5
  baseUrl: string;
@@ -25,6 +26,7 @@ export type GeocoderOptions = UrlGroup & {
25
26
  };
26
27
  static?: [string, any][];
27
28
  };
29
+ callbackFunc?: (data: Feature, options: GeocoderOptions, i: number) => void;
28
30
  };
29
31
  type GeocoderPanelProps = {
30
32
  options: GeocoderOptions[];
@@ -112,6 +112,7 @@ body[dir='rtl'] .cesium-viewer .cesium-baseLayerPicker-sectionTitle {
112
112
  flex-direction: row-reverse;
113
113
  align-items: center;
114
114
  column-gap: 4px;
115
+ margin: 3px 3px 1px 3px;
115
116
  }
116
117
 
117
118
  .cesium-viewer .cesium-viewer-fullscreenContainer {
@@ -5,7 +5,6 @@ import { Proj } from '../utils/projections';
5
5
  import { GeocoderOptions } from './geocoder/geocoder-panel';
6
6
  import LayerManager, { IRasterLayer, LegendExtractor } from './layers-manager';
7
7
  import { IMapLegend } from './legend';
8
- import { CesiumSceneMode } from './proxied.types';
9
8
  interface ViewerProps extends ComponentProps<typeof Viewer> {
10
9
  }
11
10
  export declare class CesiumViewer extends CesiumViewerCls {
@@ -82,7 +81,6 @@ export interface CesiumMapProps extends ViewerProps {
82
81
  locale?: {
83
82
  [key: string]: string;
84
83
  };
85
- sceneModes?: (typeof CesiumSceneMode)[];
86
84
  baseMaps?: IBaseMaps;
87
85
  terrains?: ITerrain[];
88
86
  useOptimizedTileRequests?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@map-colonies/react-components",
3
- "version": "4.12.0",
3
+ "version": "4.13.0",
4
4
  "main": "./dist/@map-colonies/react-components.umd.js",
5
5
  "module": "./dist/@map-colonies/react-components.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -86,5 +86,5 @@
86
86
  "files": [
87
87
  "dist"
88
88
  ],
89
- "gitHead": "0c38a154c2476251e83c79676efdd1f85676e18c"
89
+ "gitHead": "ef4027580f644fb553e2b9e31206cfc585d2d105"
90
90
  }