forked from rnmapbox/maps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: improve markdown, and setup instructions
* docs: improve markdown, and setup instructions Fixes rnmapbox#2168
- Loading branch information
1 parent
3e247f1
commit 561e33f
Showing
49 changed files
with
1,749 additions
and
1,902 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
Comparsion of various annotations available in React native mapbox: | ||
# Annotations Comparison | ||
|
||
|*Feature* | *SymbolLayer* |*PointAnnotation* |*MarkerView* |*CircleLayer* | | ||
|-----------------------|--------------------|--------------------------------------|-------------------------|---------------------| | ||
|Can use images | ✓ | | | | | ||
|RN Views as childern | iOS: static |iOS: interactive <br/> android: static|interactive | | | ||
|Interactions | click |iOS: full <br/> android: click & drag & callout | supports full interactivity in the sense that inside MarkerViews one can place any RN View, which can be interacted with. Not to be misunderstood with drag n drop interactivity. | click | | ||
|Control Z-index | ✓ |iOS: always on top, android: n/a |always on top | ✓ | | ||
|Clustering | ✓ | | | ✓ | | ||
|Style with expressions | ✓ | | | ✓ | | ||
|iOS implementation | [MGLStyleSymbolLayer](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLSymbolStyleLayer.html) |[MGLAnnotationView](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLAnnotationView.html) |[MGLAnnotationView](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLAnnotationView.html) |[MGLCircleStyleLayer](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLCircleStyleLayer.html) | | ||
|android implementation | [SymbolLayer](https://docs.mapbox.com/android/api/map-sdk/9.0.0/com/mapbox/mapboxsdk/style/layers/SymbolLayer.html)|[annotation.Symbol](https://docs.mapbox.com/android/api/plugins/annotation/0.8.0/com/mapbox/mapboxsdk/plugins/annotation/Symbol.html)|[annotation.Marker](https://docs.mapbox.com/android/api/plugins/markerview/0.4.0/com/mapbox/mapboxsdk/plugins/markerview/MarkerView.html) |[CircleLayer](https://docs.mapbox.com/android/api/map-sdk/9.0.0/com/mapbox/mapboxsdk/style/layers/CircleLayer.html)| | ||
Comparsion of various annotations available in React native mapbox: | ||
|
||
| *Feature* | *SymbolLayer* | *PointAnnotation* |*MarkerView* |*CircleLayer* | | ||
|------------------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------|-------------------------|---------------------| | ||
| Can use images | ✓ | | | | | ||
| RN Views as children | iOS: static | iOS: interactive <br/> Android: static |interactive | | | ||
| Interactions | click | iOS: full <br/> Android: click & drag & callout | supports full interactivity in the sense that inside MarkerViews one can place any RN View, which can be interacted with. Not to be misunderstood with drag n drop interactivity. | click | | ||
| Control Z-index | ✓ | iOS: always on top, Android: n/a |always on top | ✓ | | ||
| Clustering | ✓ | | | ✓ | | ||
| Style with expressions | ✓ | | | ✓ | | ||
| iOS implementation | [MGLStyleSymbolLayer](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLSymbolStyleLayer.html) | [MGLAnnotationView](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLAnnotationView.html) |[MGLAnnotationView](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLAnnotationView.html) |[MGLCircleStyleLayer](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLCircleStyleLayer.html) | | ||
| Android implementation | [SymbolLayer](https://docs.mapbox.com/android/api/map-sdk/9.0.0/com/mapbox/mapboxsdk/style/layers/SymbolLayer.html)| [annotation.Symbol](https://docs.mapbox.com/android/api/plugins/annotation/0.8.0/com/mapbox/mapboxsdk/plugins/annotation/Symbol.html) |[annotation.Marker](https://docs.mapbox.com/android/api/plugins/markerview/0.4.0/com/mapbox/mapboxsdk/plugins/markerview/MarkerView.html) |[CircleLayer](https://docs.mapbox.com/android/api/map-sdk/9.0.0/com/mapbox/mapboxsdk/style/layers/CircleLayer.html)| | ||
|
||
Related links: | ||
|
||
* iOS [markers and annotations](https://docs.mapbox.com/ios/maps/overview/markers-and-annotations/) | ||
* android [annotation plugin](https://docs.mapbox.com/android/plugins/overview/annotation/) | ||
* Android [annotation plugin](https://docs.mapbox.com/android/plugins/overview/annotation/) |
Oops, something went wrong.