Skip to content

Commit

Permalink
Fix Android bug: marker's infoWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
lovebing committed Oct 28, 2016
1 parent 0acc29b commit 227b950
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ public boolean onMarkerClick(Marker marker) {
if(marker.getTitle().length() > 0) {
mMarkerText.setText(marker.getTitle());
InfoWindow infoWindow = new InfoWindow(mMarkerText, marker.getPosition(), -80);
mMarkerText.setVisibility(View.GONE);
mapView.getMap().showInfoWindow(infoWindow);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"dependencies": {
"react": "15.2.1",
"react-native": "^0.30.0",
"react-native-baidu-map": "^0.4.6"
"react-native-baidu-map": "^0.4.7"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-baidu-map",
"version": "0.4.6",
"version": "0.4.7",
"description": "Baidu Map SDK modules and view for React Native(Android & IOS), support react native 0.30+.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 227b950

Please sign in to comment.