Commercial use
How to setup your project for commercial use.
CARTO Basemaps
If you have a commercial license for CARTO basemaps, you can disregard this.
Mapbox based component
Run the following command to add the mapbox-based map component:
npx @react-native-reusables/cli@latest add https://mapcn-rn.dev/maps/map-mapbox.jsonGet a Mapbox API key from console.mapbox.com/account/access-token.
Mapbox pricing (Maps SDK):
- Free tier: 25.000 Monthly Active Users
- Additional pricing info is available at: Mapbox Pricing
Add the API key to your environment variables:
# .env
EXPO_PUBLIC_MAPBOX_API_KEY=pk...
This will add the mapbox-based map component to components/ui/map.tsx in your project.
Maptiler based component
Run the following command to add the map component:
npx @react-native-reusables/cli@latest add https://mapcn-rn.dev/maps/map-maptiler.jsonGet a Maptiler API key from the Maptiler website.
Maptiler pricing:
- Free tier: 100,000 requests/month
- Additional pricing info is available at: Maptiler Pricing
Add the API key to your environment variables:
# .env
EXPO_PUBLIC_MAPTILER_API_KEY=your_maptiler_api_key_here
This will add the maptiler-based map component to components/ui/map.tsx in your project.