MCPcopy
hub / github.com/react-native-maps/react-native-maps / Spec

Interface Spec

src/specs/NativeAirMapsModule.ts:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24export type MapBoundaries = {northEast: LatLng; southWest: LatLng};
25
26export interface Spec extends TurboModule {
27 getCamera(tag: Double): Promise<Camera>;
28 getMarkersFrames(tag: Double, onlyVisible: boolean): Promise<unknown>;
29 getMapBoundaries(tag: Double): Promise<MapBoundaries>;
30 takeSnapshot(tag: Double, config: string): Promise<string>;
31 getAddressFromCoordinates(tag: Double, coordinate: LatLng): Promise<Address>;
32 getPointForCoordinate(tag: Double, coordinate: LatLng): Promise<Point>;
33 getCoordinateForPoint(tag: Double, point: Point): Promise<LatLng>;
34}
35
36export default TurboModuleRegistry.getEnforcing<Spec>('RNMapsAirModule');

Callers 21

getCameraMethod · 0.65
setCameraMethod · 0.65
animateCameraMethod · 0.65
getCameraMethod · 0.65
getCameraFunction · 0.65
logFramesMethod · 0.65
getMarkersFramesMethod · 0.65
getMarkersFramesFunction · 0.65
onRegionChangeCompleteFunction · 0.65
getMapBoundariesMethod · 0.65
getMapBoundariesMethod · 0.65
getMapBoundariesFunction · 0.65

Implementers 2

NativeAirMapsModuleSpecandroid/src/main/java/com/facebook/fbr
NativeAirMapsModuleandroid/src/main/java/com/rnmaps/fabri

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…