here-api

Problems using HERE API to get my position (Wifi) [UPDATED]

我只是一个虾纸丫 提交于 2019-12-24 07:59:56
问题 I installed the HERE test product on my tablet (it's an old Android 5.1 tablet without GPS or Cellular data, just Wifi) and it worked well to (approximately) give my position using Wifi. So I am attempting to program the same in my app. Downloaded the HERE API, got a freemium license for my app name, input the lines in my manifest: <meta-data android:name="com.here.android.maps.appid" android:value="itkC4uIay69MTXXXXXXX" /> <meta-data android:name="com.here.android.maps.apptoken" android

Change the transformCenter dynamically

做~自己de王妃 提交于 2019-12-24 07:57:26
问题 I'm using HERE Android SDK Premium 3.9. My objective is this: Start off by showing the current location of the user at a certain PointF on the screen Based on some conditions, I want to add a "destination marker" on the screen. The destination marker is at a different location than the current location. This marker must not be at the center - rather it must be offset by a certain PointF I haven't been able to achieve this. I can use setTransformCenter once for the initial "current location"

Change the transformCenter dynamically

我只是一个虾纸丫 提交于 2019-12-24 07:57:03
问题 I'm using HERE Android SDK Premium 3.9. My objective is this: Start off by showing the current location of the user at a certain PointF on the screen Based on some conditions, I want to add a "destination marker" on the screen. The destination marker is at a different location than the current location. This marker must not be at the center - rather it must be offset by a certain PointF I haven't been able to achieve this. I can use setTransformCenter once for the initial "current location"

How to retreive speed limit from here maps given a latitude and longitude?

左心房为你撑大大i 提交于 2019-12-24 07:46:23
问题 I'm trying to get speed limit from Here API maps but I can't find the way to do it. I tryed few example on web site but the only one that works is the one which require point of start and point of stop of the route. I would like to get the speed limit given only one point ( or a box ). Which api do I have to use? Is there an example? https://route.cit.api.here.com/routing/7.2/calculateroute.json?jsonAttributes=1&waypoint0=51.31854,9.51183&waypoint1=50.11208,8.68342&departure=2019-01-18T10:33

Mute Voice Directions in Here Maps iOS SDK

牧云@^-^@ 提交于 2019-12-24 06:35:54
问题 I want to toggle the voice directions in my iOS app between on and off. The HERE maps instructions (https://developer.here.com/mobile-sdks/documentation/ios-hybrid-plus/topics_api_nlp_hybrid_plus/protocolnmaaudiomanagerdelegate-p.html) are still all in objective-C. It is quite clear in that language how to do this, but I am looking for the Swift 3 equivalent. That manual says: @optional (BOOL) audioManager:( NMAAudioManager *) audioManager shouldPlayOutput:( NMAAudioOutput *) output Called

Here Maps MapView does not work in Fragment

点点圈 提交于 2019-12-23 15:43:56
问题 I am trying to implement Here Maps in Fragment but it does not work. I got lots of crashes Crash Logs: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386) Suppressed: java.lang.Throwable: HERE SDK Version: 3.7.0.118 at com.nokia.maps.MapsEngine$l.uncaughtException(MapsEngine.java:378) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068) at java.lang.ThreadGroup.uncaughtException

Coroutine 'nokia.maps.map.render.p2d.Engine#_renderCo' aborted abnormally with exception

泄露秘密 提交于 2019-12-23 05:25:21
问题 I've updated HereMaps JavaScript from 2.2.4 to 2.5.3 and the map has stopped working on Chrome (version 31.0.1650.57 m). Firefox and IE work as before. On the console I see the message many times Coroutine 'nokia.maps.map.render.p2d.Engine#_renderCo' aborted abnormally with exception base.js:158 TypeError: Cannot read property 'body' of undefined Does anyone have a hint of what might be wrong? Thanks. 回答1: It is very difficult to answer your specific problem without seeing your code, but I am

How to distinct two markers placed at the same coordinates in Nokia Here map

泄露秘密 提交于 2019-12-23 04:52:50
问题 I have two markers placed at the same coordinates in a Nokia Here map. The problem is I can access only at one marker. The other is below the first one. Is there any options or something else to manage this case, in order to have access to all markers placed at the same coordinates ? 回答1: The only way to ensure that all markers are separately visible is to put the overlapping markers at slightly different locations. The best effect I have found is to use the clustering functionality down to

How to show info wndow on marker in here map SDK 3.6

穿精又带淫゛_ 提交于 2019-12-23 03:18:17
问题 old version have method showInfoBubble() but deprecated in sdk 3.6 of here map, now how to show info on marker. Here are the code. MapMarker marker = new MapMarker(); GeoCoordinate geoCoordinate = new GeoCoordinate(c.getLat(), c.getLng()); marker.setCoordinate(geoCoordinate); marker.setTitle(c.getTicket()); StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("Name : " + (TextUtils.isEmpty(c.getName()) ? "N/A" : c.getName().trim()) + "\n"); stringBuilder.append("Address : "

Here Maps - iOS Premium- infoBubble

可紊 提交于 2019-12-22 12:41:25
问题 I am trying to display a popup above the marker when the marker is selected. But infoBubble functionality is not implemented in premium SDK. Is there a workaround for this? 回答1: You should use MapOverlays instead: https://developer.here.com/documentation/ios-premium/api_reference_jazzy/Classes/NMAMapOverlay.html Then add you implementation to the MapView via: https://developer.here.com/documentation/ios-premium/api_reference_jazzy/Classes/NMAMapView.html#%2Fc:objc(cs)NMAMapView(im