here-api

HERE REST API OAuth 2.0 Token Request (with a 1.0 header) Error

孤者浪人 提交于 2021-02-11 14:44:13
问题 I've been trying to get my PHP application to create a successful token request since finally managing to get it working with Postman as per the docs here Apparently the API is using OAuth 2.0 which is why I expect to send up grant_type , client_id , client_secret and expires_in (if I don't specify one of these fields then the API will successfully tell me it is missing). Now the problem I am having is with this OAuth 1.0 Authorization Header that I am having to generate, which Postman seems

HERE matrix routing testing url with apiKey

断了今生、忘了曾经 提交于 2021-02-11 14:32:42
问题 I am migrating my appCode and appId to apiKey. But I can't find the testing URL. I am currenlty using matrix.route.cit.api.here.com which doesn't fit with the new apiKey. Does someone have a valid URL ? Thank you in advance. 回答1: The matrix routing production endpoint is at: https://matrix.route.ls.hereapi.com/routing/7.2/calculatematrix.{format} The testing one is at: https://matrix.route.sit.ls.hereapi.com/routing/7.2/calculatematrix.{format} Where format is either json or xml . 回答2: Update

Include Review,Rating and Images in places API

青春壹個敷衍的年華 提交于 2021-02-11 13:00:15
问题 I am implementing Places rest api, In request i have included show_content and show_refs like https://...v1/places/...&show_content=wikipedia&show_refs=tripadvisor,facebook I m receiving object with TripAdvisor id in response but rating and review objects are always empty. However when i try to search same place on wego.here.com i can see the reviews and images in response from TripAdvisor, and there is no difference in my api call. How i can get data in these objects from here.com. Do i need

Clustering for DomIcon

十年热恋 提交于 2021-02-10 13:46:09
问题 I am trying to make clusters of H.map.DomMarker , which are using H.map.DomIcon with the HTML code. But the native Here Map clustering doesn't work. Only if I use simple H.map.Icon , but as this is rendered as a canvas layer, I cannot use my own markers. Is there any way how to get clusters on DomIcon ? Edit: Also, is there any way how to get list of markers inside cluster? Thanks Dan 回答1: This should be possible using the code from Map clustering with custom theme, because the clustering

Voice catalog is not available in local storage for Here Maps Voice Instruction feature

浪尽此生 提交于 2021-02-08 10:27:25
问题 Following the steps in HERE Android SDK Developer's Guide for Navigation Voice Instruction , I cannot start the Voice feature. The debug information is as below: // Retrieve the VoiceCatalog and download the latest updates VoiceCatalog voiceCatalog = VoiceCatalog.getInstance(); voiceCatalog.downloadCatalog(new VoiceCatalog.OnDownloadDoneListener() { @Override public void onDownloadDone(VoiceCatalog.Error error) { if (error == VoiceCatalog.Error.NONE) { // catalog download successful Toast

how to get access token for here-api using postman

风格不统一 提交于 2021-02-08 08:44:18
问题 don't give me this link https://developer.here.com/documentation/authentication/dev_guide/topics/using-postman.html guide in this link in not working with postman my postman version my valid Credentials.propeties here.access.key.id = V0qAiqfSzIFVv5dPjZ3XmQ here.access.key.secret=XualuioK9BU9gxw5xjN3oViSRb6HPgTiWsWG5bBWL5G7kr5nsJpoWpCsli5ISQnQ8JlrX2mScSOdDqJAnKvIGA here.token.endpoint.url = https://account.api.here.com/oauth2/token same as in guide my Authorization Headers Body Response from

Launching a navigation app with destination pre-populated

家住魔仙堡 提交于 2021-01-29 19:05:04
问题 I want to start a turn by turn navigation app (which does not use mobile data) with its destination. I use cordova and javascript. I can launch sygic and herewego with the code below but I cannot pass the destination after numerous changes. The destination is in latitude/longitude format. I don't mind which app is used as long as it starts ready to navigate to a destination. I would be grateful for any tips. window.plugins.launcher.launch({ packageName:'com.sygic.aura', // com.here.app.maps }

Using .getSpeedLimit() also makes warning sounds . How to Override?

Deadly 提交于 2021-01-29 18:53:03
问题 Unable to override Here SDK to disable sound effect on the onSpeedExceeded event. Using the Here Developer tutorial, (https://developer.here.com/blog/android-premium-sdk-speed-limit-warning-example), I succeeded in running the sample app. But... While driving, when I exceed the speed limit, there is a doot doot doot. I want to override this behaviour as I intend to use my own sounds. I guessed that I might override the code by creating a NavigationManager.SpeedWarningListener. Unfortunately I

Here Maps API: Detecting when a Marker is dragged and dropped onto a Polyline

给你一囗甜甜゛ 提交于 2021-01-29 18:33:21
问题 I have draggable markers on a Here Map, and I'd like to detect when a marker is dragged and dropped onto a Polyline. I haven't been able to find a good way to detect that the marker is dropped on or near the polyline. It would be nice if I could add an "dragend" event listener to the Polyline object, but that doesn't seem to be supported on objects other than the actual map. Another approach would be to determine the distance to the Polyline from the point that the dragend occurs, but I haven

Here.com Destination Weather API returns “Forbidden” “These credentials do not authorize access”

半世苍凉 提交于 2021-01-29 18:25:54
问题 Using the Here.com Freemium account, previously I was using the example here with my own API Key and some modifications to get the 7 day forecast. Based on this command, I had some code running in my back-end server every 2h collecting data, which ran for about a week without problems. I have not touched the code since then. After a week, it stopped working. Now, even when I generate a new API key, and use the same command, I get the following return data in Postman: { "error": "Forbidden",