@mappable-world/mappable-types 0.0.9 → 0.0.10
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.
|
@@ -274,6 +274,11 @@ declare class MMap extends GenericRootEntity<MMapProps, DefaultProps> {
|
|
|
274
274
|
* @param {Config} config
|
|
275
275
|
*/
|
|
276
276
|
setConfig(config: Config): void;
|
|
277
|
+
/**
|
|
278
|
+
* setter for {@link MMapProps}.projection prop
|
|
279
|
+
* @param {Projection} projection
|
|
280
|
+
*/
|
|
281
|
+
setProjection(projection: Projection): void;
|
|
277
282
|
/**
|
|
278
283
|
* Destroy map and remove it from user DOM-element
|
|
279
284
|
*/
|
|
@@ -51,7 +51,7 @@ declare class MMapFeature extends MMapEntity<MMapFeatureProps, DefaultProps> {
|
|
|
51
51
|
private static _uid;
|
|
52
52
|
private _id;
|
|
53
53
|
private _source;
|
|
54
|
-
private
|
|
54
|
+
private _defaultPropsId?;
|
|
55
55
|
constructor(props: MMapFeatureProps);
|
|
56
56
|
get properties(): Record<string, unknown> | undefined;
|
|
57
57
|
get geometry(): GenericGeometry<LngLat>;
|
|
@@ -53,5 +53,6 @@ declare class MMapTileDataSource extends MMapEntity<MMapTileDataSourceProps> {
|
|
|
53
53
|
protected _onAttach(): void;
|
|
54
54
|
protected _onDetach(): void;
|
|
55
55
|
protected _onUpdate(props: Partial<MMapTileDataSourceProps>): void;
|
|
56
|
+
private _validateVectorSource;
|
|
56
57
|
}
|
|
57
58
|
export { MMapTileDataSource, MMapTileDataSourceProps };
|
package/imperative/wrappers.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mappable-world/mappable-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Types for mappable maps library",
|
|
5
5
|
"main": "",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -16,5 +16,9 @@
|
|
|
16
16
|
"registry": "https://registry.npmjs.org"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://mappable.world",
|
|
19
|
-
"license": "Apache-2.0"
|
|
19
|
+
"license": "Apache-2.0",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@types/react": "*",
|
|
22
|
+
"@types/react-dom": "*"
|
|
23
|
+
}
|
|
20
24
|
}
|