MCPcopy Create free account
hub / github.com/react-native-maps/react-native-maps / constructor

Method constructor

src/MapView.tsx:801–810  ·  view source on GitHub ↗
(props: MapViewProps)

Source from the content-addressed store, hash-verified

799 private fabricMap = React.createRef<FabricMapHandle>();
800
801 constructor(props: MapViewProps) {
802 super(props);
803
804 this.map = React.createRef<MapViewNativeComponentType>();
805 this.state = {
806 isReady: false,
807 };
808
809 this._onMapReady = this._onMapReady.bind(this);
810 }
811
812 setNativeProps(props: Partial<NativeProps>) {
813 // @ts-ignore

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected