Releases: TPLMaps/TPLMapsAndroidSdkSamples
Releases · TPLMaps/TPLMapsAndroidSdkSamples
V1.7.5
V1.7.3
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.7.2'
// Places
implementation 'com.tpl.maps.sdk:places:1.7.3'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.6.3'
Maps
- Added RemoveCurrentMarker Function
Places
- Search API Optimized
- ReverseGeoCoding Optimized
V1.6.9
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.6.9'
// Places
implementation 'com.tpl.maps.sdk:places:1.6.9'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.6.3'
Maps
- Improvements in Map Layers
Places
- AreaDetail New Method Added
- Optimize Search New Method Added
V1.6.7.1
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.6.7.1'
// Places
implementation 'com.tpl.maps.sdk:places:1.6.7'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.6.3'
Maps
- Improvements and optimisations
Places
- NearByAdminArea New Method Added
- Search with only query without latlng and city Added
V1.6.6
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.6.6'
// Places
implementation 'com.tpl.maps.sdk:places:1.6.5'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.6.3'
Fixes and Improvement
- Android 12 support
- Improvements and optimizations
- Search with location param.
- Reverse Geocoding
v1.6.3
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.6.3'
// Places
implementation 'com.tpl.maps.sdk:places:1.6.3'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.6.3'
Fixes and Improvements
- Addition of ‘origin’ parameter configurations
- Addition of new configurations for API request library
- Addition of Android 11 support for maps
- Code refactoring and optimization
v1.5.2.04
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.5.2.04'
// Places
implementation 'com.tpl.maps.sdk:places:1.5.2'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.5.2'
Fixes and Improvements
- Update location library, improved auto map location functions regarding flows. See documentation section, Maps API > Enable location on map to get help.
- Traffic layer is disabled for default map loading
1.5.2.03
Published maps sdk's version, latest versions of modules/artifacts are:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.5.2.03'
// Places
implementation 'com.tpl.maps.sdk:places:1.5.2'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.5.2'
Fixes and Improvements
- Crash fix: Method
MapController.setMyLocationEnabled()
is causingIllegalStateException of x + width <= bitmap.getWidth()
on some devices reported Samsung S8, S9 and Nokia 6.1 (having Android Versions 9,10) - Method
MapController.setBounds()
improvements when giving the same northeast and southwest locations
1.5.2
Published the following versions of SDK modules/artifacts:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.5.2'
// Places
implementation 'com.tpl.maps.sdk:places:1.5.2'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.5.2'
Change Log
- Fixes related to address properties in Place model for Places API
1.5.1
Published the following versions of SDK modules/artifacts:
// Maps
implementation 'com.tpl.maps.sdk:maps:1.5.1'
// Places
implementation 'com.tpl.maps.sdk:places:1.5.1'
// Routing
implementation 'com.tpl.maps.sdk:routing:1.5.1'
What's new:
- Added Map Logo and developer can set its gravity by calling
MapView.setLogo(Gravity)
, default gravity value isGravity.START | Gravity.BOTTOM
mapView.setLogo(Gravity.START | Gravity.BOTTOM);
Change Log
- Improved runtime Location permission and
LocationSettings
flow - Developer can do more with enabling location on map by calling
MapController.setMyLocationEnabled(boolean, MyLocationArg)
- Added/Replaced enum and their functionalities e.g. NONE, SHOW_MY_LOCATION_BUTTON, ZOOM_LOCATION_ON_FIRST_FIX, ZOOM_LOCATION_UPDATES
- Developer can now use
SearchManager.query()
method by passingParams
andOnSearchResult
listener as parameters of the method, asSearchManager.query(Params)
SearchManager.query(Params, OnSearchResult)
has been implemented, sample code is given in sample repos
- Improved documentation regarding recommended gradle configurations and API changes
- Support for Android R (Preview)
Note: Make sure to implement all
MapView
lifecycle methods call with yourActivity
's lifecycle method as given below.
For example,
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.layout_maps);
mMapView = findViewById (R.id.map);
mMapView.onCreate(savedInstanceState);
}
@Override
protected void onStart() {
super.onStart();
if (mMapView != null)
mMapView.onStart();
}
@Override
protected void onResume() {
super.onResume();
if (mMapView != null)
mMapView.onResume();
}
@Override
protected void onPause() {
super.onPause();
if (mMapView != null)
mMapView.onPause();
}
@Override
protected void onStop() {
super.onStop();
if (mMapView != null)
mMapView.onStop();
}
@Override
protected void onDestroy() {
super.onDestroy();
if (mMapView != null)
mMapView.onDestroy();
}
@Override
public void onLowMemory() {
super.onLowMemory();
if (mMapView != null)
mMapView.onLowMemory();
}