here-api

Here map 3.3. How to get current user position street name?

 ̄綄美尐妖づ 提交于 2019-12-13 00:34:22
问题 I am using android HERE sdk 3.3.0. I've find current location by using PositioningManager then onPositionUpdated triggered public void onPositionUpdated(PositioningManager.LocationMethod method,GeoPosition position,boolean isMapMatched) { map.setCenter(position.getCoordinate(),Map.Animation.NONE); } After this method I want to get street name which user stand. how can i get that? 回答1: Please call PositioningManager#getRoadElement(), it will return the current map matched street name. 来源:

I got MISSING_PERMISSION issue Here maps Android

纵然是瞬间 提交于 2019-12-12 20:23:52
问题 I'm trying an application just show Here map on screen. I've followed all of steps in document of Here + provided app_id, app_code, license key + provided 6 permissions in AndroidManifest.xml. But It got the following issue: "ERROR: Cannot initialize Map Fragment: MISSING_PERMISSION" I'm using gradle 2.8, targetSdkVersion 23, compileSdkVersion 23 回答1: Android 6 / API 23 has a new permission system, that means you have to request critical permissions from the user. See Android docs: https:/

Add download offline map in Android with Here maps

懵懂的女人 提交于 2019-12-12 09:53:43
问题 I have already developed an Android Here map which has a simple map view but I need to add offline support to the app, how can I add it to my app in order to let the user download a specific country or area? Note that I implemented my app using the tutorial in the link below: https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/maps.html 回答1: See the Offline Maps section of the mobile sdk documentation. In particular, you might want to use the following methods of

map fragment shows blank when app resumes from background to front. GL thread crash

橙三吉。 提交于 2019-12-12 09:05:12
问题 I compiled a HERE tutorial app, "basic map solution", and installed it on Motorola XT1565(android 6.0.1). When I launch it, the map view can be shown, but if I move it to background and later bring it back to front, sometimes I see the map view is blank: no map content. I caught the following GL thread crash error in the log. I am using HERE Android SDK 3.1.1, and I can not find same issue on Here official app from Google Playstore. So I wonder if this issue is related to EGL lib compatible

Finding place by HERE id

独自空忆成欢 提交于 2019-12-12 04:58:38
问题 I try to get HERE place information by place id. Something like https://places.cit.api.here.com/places/v1/places/276u337n-1e7e6de955674eddb3ba8662d8a83bac?app_id={XXXX}&app_code={YYYY} returns It is not permissible to use URL templating. Please follow the Places API Developer Guide: https://developer.here.com/rest-apis/documentation/places/topics/required-user-flow.html I understand the use and concept of URL templating but the link does not provide me with the information to get place

Geodesic polygons in Nokia HERE 3.0?

二次信任 提交于 2019-12-12 04:49:00
问题 Using the HERE JavaScript API 3.0, is it possible to create geodesic polygons? I.e. draw the shortest path on the actual earth instead of the plain projection. Apparently I wasn't able to find anything in the HERE API documentation. For GoogleMaps this is possible as seen here: https://developers.google.com/maps/documentation/javascript/examples/geometry-headings?csw=1 Thanks in advance! 回答1: Although not available out of the box, It can be implemented using some simple coding. You will find

How to use spcific HERE country data offline?

帅比萌擦擦* 提交于 2019-12-12 04:23:17
问题 I'm using Here maps evaluation (90 days) now. My purpose is to use HERE offline (i.e., with Android phones that do not have cellular data, and even do not have WiFi, but can only make and get calls) and I want the map data to be avaailable only in 1 country. How can I do this with HERE api? EDIT What I did so far: 1. I downloaded the evaluation of HERE, and built simple app. This app is only working with WiFi/Cellular data. 2. I downloaded HERE apk from Google Play and there it gave me to

Zoom changed event for nokia Here maps

和自甴很熟 提交于 2019-12-12 04:08:02
问题 I'm confused on how to handle zoom events with Nokia Here maps. Usually for example map.addEventListener('dragend', function(){....}) why cant the same signature work for something like map.addEventListener('zoomend', function(){....}) I know there is a event called mapviewchangeend but how will I use that to know if it was a zoom change rather a drag Thanks! 回答1: The supported map events are documented here , i think simplest way to achieve your requirement would be to check the map zoom

Android here sdk Offline truck routing gives No connectivity error

戏子无情 提交于 2019-12-12 03:34:39
问题 I'm trying to develop a navigation app for trucks and cars, but the route calculation not works offline for Trucks just for cars. I have 90 day trial for premium sdk. 回答1: Did you download any map data? Truck routing requires map data to be downloaded via MapLoader to work offline. 来源: https://stackoverflow.com/questions/42527059/android-here-sdk-offline-truck-routing-gives-no-connectivity-error

How and what do responseattributes return for the Here Batch Geocoder API?

我只是一个虾纸丫 提交于 2019-12-12 03:23:18
问题 The Here Batch Geocoder API indicates that the responseattributes request parameter can be used. I'm interested in getting geocode quality results back from a batch geocode file. In the Response Attribute switches documentation it indicates that the default options would be On by default: matchQuality, matchType . But I'm not clear on how this actually gets returned from the batch geocoding API. It sounds like these attributes would be returned in the response, and in the API Explorer for the