mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-30 04:21:08 +00:00
Update api docs
This commit is contained in:
+2
-2
@@ -94,8 +94,8 @@ public class ReactNativeMapboxGLManager extends SimpleViewManager<MapView> {
|
||||
String title = annotation.getString("title");
|
||||
marker.title(title);
|
||||
}
|
||||
if (annotation.hasKey("title")) {
|
||||
String subtitle = annotation.getString("title");
|
||||
if (annotation.hasKey("subtitle")) {
|
||||
String subtitle = annotation.getString("subtitle");
|
||||
marker.snippet(subtitle);
|
||||
}
|
||||
view.addMarker(marker);
|
||||
|
||||
Reference in New Issue
Block a user