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

Method constructor

example/src/examples/ThemeMap.tsx:14–25  ·  view source on GitHub ↗
(props: any)

Source from the content-addressed store, hash-verified

12
13class ThemeMap extends React.Component<any, any> {
14 constructor(props: any) {
15 super(props);
16
17 this.state = {
18 region: {
19 latitude: LATITUDE,
20 longitude: LONGITUDE,
21 latitudeDelta: LATITUDE_DELTA,
22 longitudeDelta: LONGITUDE_DELTA,
23 },
24 };
25 }
26
27 render() {
28 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected