@vinctus/react-maplibre 0.1.3 → 0.1.4
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/Map.d.ts +2 -2
- package/package.json +1 -1
package/dist/Map.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { FC, RefAttributes, ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import maplibre, { MapLibreEvent,
|
|
2
|
+
import maplibre, { MapLibreEvent, StyleSpecification } from 'maplibre-gl';
|
|
3
3
|
export type ViewState = {
|
|
4
4
|
longitude: number;
|
|
5
5
|
latitude: number;
|
|
@@ -45,6 +45,6 @@ export type MapProps = {
|
|
|
45
45
|
ref?: RefAttributes<maplibre.Map | null>;
|
|
46
46
|
style?: CSSProperties;
|
|
47
47
|
zoom: number;
|
|
48
|
-
options?:
|
|
48
|
+
options?: any;
|
|
49
49
|
};
|
|
50
50
|
export declare const Map: React.ForwardRefExoticComponent<Omit<MapProps, "ref"> & React.RefAttributes<maplibre.Map | null>>;
|