@tracktor/map 1.6.0 → 1.6.2
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/features/Isochrone/Isochrone.d.ts +1 -1
- package/dist/features/Itinerary/Itinerary.d.ts +1 -1
- package/dist/features/MapView/MapView.d.ts +2 -2
- package/dist/features/NearestPointItinerary/NearestPointItinary.d.ts +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/types/{MarkerMapProps.d.ts → MapViewProps.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IsochroneProps } from '../../types/
|
|
1
|
+
import { IsochroneProps } from '../../types/MapViewProps.ts';
|
|
2
2
|
declare const _default: import('react').MemoExoticComponent<({ origin, profile, intervals, onIsochroneLoaded }: IsochroneProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
3
3
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: import('react').MemoExoticComponent<({ containerStyle, square, loading, height, width, center, zoom, popupMaxWidth, openPopup, openPopupOnHover, markers, fitBounds, fitBoundsPadding, fitBoundDuration, fitBoundsAnimationKey, disableAnimation, mapStyle: baseMapStyle, onMapClick, baseMapView, cooperativeGestures, doubleClickZoom, projection, theme: themeOverride, features, from, to, profile, itineraryLineStyle, engine, findNearestMarker, onNearestFound, isochrone, }:
|
|
2
|
+
import { MapViewProps } from '../../types/MapViewProps.ts';
|
|
3
|
+
declare const _default: import('react').MemoExoticComponent<({ containerStyle, square, loading, height, width, center, zoom, popupMaxWidth, openPopup, openPopupOnHover, markers, fitBounds, fitBoundsPadding, fitBoundDuration, fitBoundsAnimationKey, disableAnimation, mapStyle: baseMapStyle, onMapClick, baseMapView, cooperativeGestures, doubleClickZoom, projection, theme: themeOverride, features, from, to, profile, itineraryLineStyle, engine, findNearestMarker, onNearestFound, isochrone, }: MapViewProps) => ReactElement>;
|
|
4
4
|
export default _default;
|
package/dist/main.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export * from './context/MapProvider';
|
|
|
3
3
|
export { default as MapProvider } from './context/MapProvider';
|
|
4
4
|
export * from './features/MapView/MapView.tsx';
|
|
5
5
|
export { default as MapView } from './features/MapView/MapView.tsx';
|
|
6
|
-
export * from './types/
|
|
6
|
+
export * from './types/MapViewProps.ts';
|
|
7
7
|
export * from './types/MarkerProps';
|
|
8
8
|
export { default as isPointInGeoJSON } from './utils/isPointInGeoJSON.ts';
|
|
9
9
|
export * from './utils/isValidLatLng';
|
|
@@ -30,7 +30,7 @@ export interface FindNearestMarkerParams {
|
|
|
30
30
|
onNearestFound?: (id: number | string | null, coords: [number, number] | null, distanceMeters: number) => void;
|
|
31
31
|
profile?: Profile;
|
|
32
32
|
}
|
|
33
|
-
export interface
|
|
33
|
+
export interface MapViewProps {
|
|
34
34
|
/**
|
|
35
35
|
* Automatically adjusts the map's zoom and center
|
|
36
36
|
* to ensure all markers are visible within the viewport.
|
package/package.json
CHANGED