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

Function makeExampleMapper

example/src/App.tsx:61–69  ·  view source on GitHub ↗
(useGoogleMaps: boolean)

Source from the content-addressed store, hash-verified

59const ANDROID = Platform.OS === 'android';
60
61function makeExampleMapper(useGoogleMaps: boolean) {
62 if (useGoogleMaps) {
63 return (example: any) => [
64 example[0],
65 [example[1], example[3]].filter(Boolean).join(' '),
66 ];
67 }
68 return (example: any) => example;
69}
70
71export default class App extends React.Component<any, any> {
72 constructor(props: any) {

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…