Update api docs

This commit is contained in:
bsudekum
2015-10-12 18:05:39 -07:00
parent a69ca4a919
commit 6904438c35
7 changed files with 114 additions and 7 deletions
@@ -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);