Skip to content

Commit 4eb80fb

Browse files
committed
updated NativeScript to 6.5.0 and related components.
1 parent c4f9de3 commit 4eb80fb

File tree

9 files changed

+4578
-1828
lines changed

9 files changed

+4578
-1828
lines changed

README.md

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,6 @@
22
<img src="/screenshots/mapbox_logo.png" width="400"/>
33
</a>
44

5-
# To run the Angular demo
6-
7-
```
8-
cd src
9-
npm run build.dist
10-
cd ../demo-angular
11-
tns run <platform>
12-
```
13-
14-
# To run the plain Nativescript demo
15-
16-
```
17-
cd src
18-
npm run build.dist
19-
cd ../demo
20-
tns run <platform>
21-
```
22-
235
# NativeScript Mapbox plugin
246

257
[![NPM version][npm-image]][npm-url]
@@ -42,7 +24,7 @@ Awesome native OpenGL-powered maps - by Mapbox
4224
> https://github.com/NativeScript/NativeScript/issues/7954
4325
> https://github.com/NativeScript/NativeScript/issues/7867
4426
45-
## Prerequisites
27+
## Before you begin - Prerequisites
4628
You either need your own tile server such as the one provided by [openmaptiles.org](https://openmaptiles.org) or a Mapbox API access token (they have a 🆓 Starter plan!), so [sign up with Mapbox](https://www.mapbox.com/signup/).
4729
Once you've registered go to your Account > Apps > New token. The 'Default Secret Token' is what you'll need.
4830

@@ -52,6 +34,29 @@ The style can be set to one of the Mapbox style names or it can be the URL of yo
5234

5335
> NOTE: As of this writing, the NativeScript demo only works with a mapbox token. The demo-angular will work with either a self hosted tile server or a mapbox token.
5436
37+
# To run the Angular demo
38+
39+
```
40+
cd src
41+
npm run build.release
42+
cd ../demo-angular
43+
tns run <platform>
44+
```
45+
46+
# To run the plain Nativescript demo
47+
48+
```
49+
cd src
50+
npm run build.release
51+
cd ../demo
52+
tns run <platform>
53+
```
54+
55+
# Debug Build
56+
57+
To come up to speed on the plugin, I added extensive trace messages.
58+
These can be turned on by replacing 'npm run build.release' with 'npm run build.debug' in the commands above.
59+
5560
## Breaking Changes
5661

5762
This version includes breaking API changes.

0 commit comments

Comments
 (0)