Doc and cache improvement.
This commit is contained in:
1 parent
352cb0d870
commit
50114598b2
3 files changed
+12
-5
No files matched your search
@@ -7,10 +7,11 @@ import { Transformation } from './LiveMap';
|
||||
|
||||
/**
|
||||
*
|
||||
* See also {@link components/map/Map!relativeCoordinateSystemAtom}.
|
||||
*
|
||||
*
|
||||
*/
|
||||
export interface HandlersProperties {
|
||||
/** The transformation to apply on the `<LiveMap>` parent */
|
||||
transformMap: (t: Transformation) => void;
|
||||
}
|
||||
/**
|
||||
@@ -24,7 +25,7 @@ export interface HandlersProperties {
|
||||
* * touchStart, touchEnd and touchCancel to track touch state
|
||||
* * touchMove to shift the map (single finger) or shift and zoom (two fingers).
|
||||
*
|
||||
* Communication with the parent `<Map>` is done through {@link components/map/Map!relativeCoordinateSystemAtom}.
|
||||
* Communication with the parent `<LiveMap>` is done through the transformMap {@link components/map/LiveMap!Transformation} property.
|
||||
*/
|
||||
export const Handlers: react.FC<HandlersProperties> = (
|
||||
props: HandlersProperties
|
||||
|
||||
Reference in new issue
Block a user