Hi all, i started using this library 2 days ago, i would say "Bravo" for your hard work guys.
I just wanted to set a listener on the GoogleMap object, so i could hide my app's action bar for example, but it won't work for me. So any idea what's the problem guys ?
this is what i am doing in code :
mMapFragment = (MapInfoWindowFragment) getChildFragmentManager().findFragmentById(R.id.mapView); infoWindowManager = mMapFragment.infoWindowManager();infoWindowManager.setHideOnFling(true); mMapFragment.getMapAsync(this);
@Overridepublic void onMapReady(GoogleMap Map) {googleMap = Map;setUpMap();try {// Customise the styling of the base map// using a JSON object defined in a raw resource file.googleMap.setMapStyle(MapStyleOptions.loadRawResourceStyle(getContext(), R.raw.map_day_style));} catch (Exception e) {}
Hi all, i started using this library 2 days ago, i would say "Bravo" for your hard work guys.
I just wanted to set a listener on the GoogleMap object, so i could hide my app's action bar for example, but it won't work for me. So any idea what's the problem guys ?
this is what i am doing in code :
mMapFragment = (MapInfoWindowFragment) getChildFragmentManager().findFragmentById(R.id.mapView); infoWindowManager = mMapFragment.infoWindowManager();
infoWindowManager.setHideOnFling(true); mMapFragment.getMapAsync(this);
@Override
public void onMapReady(GoogleMap Map) {
googleMap = Map;
setUpMap();
try {
// Customise the styling of the base map
// using a JSON object defined in a raw resource file.
googleMap.setMapStyle(MapStyleOptions.loadRawResourceStyle(getContext(), R.raw.map_day_style));
} catch (Exception e) {
}
}