I have ingrate the HERE MAP Android native SDK in my app, and i getting the following issue, can any one help me.
1.) Here Map very first time loading issues, but when i close or kill the app and again re-start it then it is working fine.
private void setheremap() {
mapFragment = getMapFragment();
mapFragment.init(new OnEngineInitListener() {
@Override
public void onEngineInitializationCompleted(
final Error error) {
if (error == Error.NONE) {
map = mapFragment.getMap();
// Set the zoom level to the average between min and max
map.setZoomLevel((map.getMaxZoomLevel() + map.getMinZoomLevel()) / 2);
moveCameraFirstMyLocation();
Utils.hideCustomProgressDialog();
}
});
}
}
});
}
2.)and second is Location bound issues.
GeoBoundingBox geoBoundingBox=GeoBoundingBox.getBoundingBoxContainingGeoCoordinates (geoCoordinateList);
map.zoomTo(geoBoundingBox,map.getWidth()-150,map.getHeight()-150,Map.Animation.LINEAR,0);
map.setZoomLevel(14);