How to use the react-native-maps.default function in react-native-maps

To help you get started, we’ve selected a few react-native-maps examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / packages / expo / src / deprecated.ts View on Github external
get() {
      deprecatedModule(
        `import { MapView } from 'expo' -> import MapView from 'react-native-maps'`,
        'react-native-maps'
      );
      return require('react-native-maps').default;
    },
  },