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

Method constructor

src/MapPolygon.tsx:160–163  ·  view source on GitHub ↗
(props: MapPolygonProps)

Source from the content-addressed store, hash-verified

158 private polygon: NativeProps['ref'];
159
160 constructor(props: MapPolygonProps) {
161 super(props);
162 this.polygon = React.createRef<View>();
163 }
164
165 setNativeProps(props: Partial<MapPolygonProps>) {
166 this.polygon.current?.setNativeProps(props);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected