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

Method render

src/MapPolyline.tsx:170–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 }
169
170 render() {
171 const {
172 strokeColor = '#000',
173 strokeWidth = 1,
174 lineJoin = 'round',
175 lineCap = 'round',
176 } = this.props;
177 const AIRMapPolyline = this.getNativeComponent();
178 return (
179 <AIRMapPolyline
180 {...this.props}
181 strokeColor={strokeColor}
182 strokeWidth={strokeWidth}
183 lineJoin={lineJoin}
184 lineCap={lineCap}
185 ref={this.polyline}
186 />
187 );
188 }
189}
190
191export default decorateMapComponent(MapPolyline, 'Polyline', {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected