0.0.16 • Published 7 years ago

ignite-mapbox v0.0.16

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

You can install mapbox and link it by this command

ignite add map

and generate a map component with

ignite generate map MapName

then use it as below

and you can get your token key with instructions inside mapbox github https://github.com/mapbox/react-native-mapbox-gl

then you can use token key inside App>Config>MapboxConfig.tsx

Usage :

import MapboxGL from '@mapbox/react-native-mapbox-gl';
import MapboxConfig from "../../Config/MapboxConfig";
MapboxGL.setAccessToken(MapboxConfig.accessToken); // here you set access token
...
<MapboxGL.MapView
 styleURL={ColorScheme.mapStyleUrl}
 zoomLevel={15}
 centerCoordinate={[51.3890,35.6892]}
 style={{flex:1}}
 >
</MapboxGL.MapView>
0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago