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

Function constructor

example/src/examples/WMSTiles.tsx:15–27  ·  view source on GitHub ↗
(props: any)

Source from the content-addressed store, hash-verified

13
14class WMSTiles extends React.Component<any, any> {
15 constructor(props: any) {
16 super(props);
17
18 this.state = {
19 region: {
20 latitude: LATITUDE,
21 longitude: LONGITUDE,
22 latitudeDelta: LATITUDE_DELTA,
23 longitudeDelta: LONGITUDE_DELTA,
24 },
25 isWMSTilesActive: false,
26 };
27 }
28
29 toggleWMSTiles() {
30 this.setState({isWMSTilesActive: !this.state.isWMSTilesActive});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…