Skip to content

Commit 7339fae

Browse files
committed
readme/doc
1 parent b34e3c8 commit 7339fae

26 files changed

+35
-61
lines changed

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -800,34 +800,6 @@ Remove a layer added with addLayer() by id.
800800
mapbox.removeLayer( id );
801801
```
802802

803-
### addImage
804-
Add an image with `addImage` by providing an id and image path.
805-
806-
The image path can be either:
807-
1. a resource path, which will be loaded using [`fromFileOrResourceSync`](https://docs.nativescript.org/api/class/ImageSource#fromfileorresourcesync)
808-
809-
```js
810-
mapbox.addImage('my-resource', 'res://my-resource');
811-
```
812-
813-
2. a local path, which will be loaded using [`fromFileOrResourceSync`](https://docs.nativescript.org/api/class/ImageSource#fromfileorresourcesync)
814-
815-
```js
816-
mapbox.addImage('my-local-image', '~/my-local-image.png');
817-
```
818-
819-
3. a base64 data URL, which will be loaded using [`fromBase64Sync`](https://docs.nativescript.org/api/class/ImageSource#frombase64sync)
820-
821-
```js
822-
mapbox.addImage('my-base64-image', 'data:image/gif;base64,R0lGODdhAQABAPAAAP8AAAAAACwAAAAAAQABAAACAkQBADs=');
823-
```
824-
825-
4. an HTTP URL, which will be loaded using [`fromUrl`](https://docs.nativescript.org/api/class/ImageSource#fromurl)
826-
827-
```js
828-
mapbox.addImage('my-web-image', 'https://picsum.photos/200');
829-
```
830-
831803
### queryRenderedFeatures
832804
https://docs.mapbox.com/mapbox-gl-js/api/map/#map#queryrenderedfeatures
833805
Returns an array of GeoJSON Feature objects representing visible features that satisfy the query parameters.

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/Mapbox.html

Lines changed: 2 additions & 1 deletion
Large diffs are not rendered by default.

docs/classes/MapboxCommon.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

docs/classes/MapboxView.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/classes/MapboxViewBase.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/classes/MapboxViewCommonBase.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/interfaces/MapboxApi.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/interfaces/MapboxViewApi.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/variables/accessTokenProperty.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)