Releases: dverbovyi/angular-heremaps
Releases · dverbovyi/angular-heremaps
add support map language tiles
add getBoundsReactFromPoints, change in findLocationById
Added:
- getBoundsReactFromPoints
Example:
function setViewBoundsByPoints(heremaps) {
var topLeftPoint = { lng: 55.1021576, lat: 25.064732 };
var bottomRightPoint = { lng: 54.1021576, lat: 24.064732 };
var bounds = heremaps.getBoundsReactFromPoints(topLeftPoint, bottomRightPoint);
heremaps.setViewBounds(bounds);
}
$scope.onMapready = function(heremaps) {
setViewBoundsByPoints(heremaps);
}
Changed in API:
- findLocationById now returns json (PR: #14)
Add geocodeAutocomplete and findLocationById methods
Added geocodeAutocomplete and findLocationById methods to angular-heremaps public API
thanks @aanev for the PR
integrate geocodeAddress feature
- Added
geocodeAddress
method to angular-heremaps public API. The method performs text or partial address geocode by using https://developer.here.com/api-explorer/rest/geocoder/latitude-longitude-by-partial-address API
thanks @aanev for the PR