# Mapbox Maps SDK for React Native (CedarMaps Variant)
_An unofficial React Native component for building maps with the [Mapbox Maps SDK for iOS](https://www.mapbox.com/ios-sdk/) and [Mapbox Maps SDK for Android](https://www.mapbox.com/android-sdk/)_
## Installation
**Dependencies**
*[node](https://nodejs.org)
*[npm](https://www.npmjs.com/)
*[React Native](https://facebook.github.io/react-native/) recommended version 0.50 or greater
*[Mapbox Example](https://github.com/mapbox/react-native-mapbox-gl/blob/master/example)(Not using CedarMaps; for demonstration purposes)
## Initializing a Map
Once you’ve set up your development environment, created a new React Native project, and installed the Mapbox Maps SDK for React Native, you’re ready to initialize a map in your App.js file.
First, you’ll import the components that you will need. This includes components from React, React Native, and Mapbox. To display a map you’ll need a CedarMaps access token. CedarMaps uses access tokens to associate requests to API resources with your account. As soon as you have imported Mapbox, you should set your CedarMaps access token using Mapbox.setAccessToken().
Then, use the Mapbox.MapView component to initialize your map. The MapView component will add a map to the view, and you can add props to specify some parameters for the map including the map style, zoom level, and center of the map.