Skip to content

teovillanueva/react-native-web-maps

Repository files navigation

@teovilla/react-native-web-maps

All Contributors

Cross platfrom maps for react & react-native

Installation

$ yarn add @teovilla/react-native-web-maps

Usage with Expo web / Webpack

For this to work you must alias react-native-maps to @teovilla/react-native-web-maps in your webpack config.

Example with Expo Web:

// webpack.config.js

module.exports = async function (env, argv) {
  const config = await createExpoWebpackConfigAsync(env, argv);

  config.resolve.alias['react-native-maps'] = '@teovilla/react-native-web-maps';

  return config;
};

Example with Next.js:

// next.config.js

module.exports = {
  webpack: (config) => {
    config.resolve.alias = {
      ...(config.resolve.alias || {}),
      'react-native-maps$': '@teovilla/react-native-web-maps',
    };

    return config;
  },
};

Documentation

The docs for the project can be found here.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Teodoro Villanueva
Teodoro Villanueva

๐Ÿšง ๐Ÿ“– ๐Ÿ’ป
Abdul Rehman Talat
Abdul Rehman Talat

๐Ÿ’ป
Toby Smith
Toby Smith

๐Ÿ“– ๐Ÿ’ป
Youssef Henna
Youssef Henna

๐Ÿ“– ๐Ÿ’ป
Sascha Reuter
Sascha Reuter

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!