here-api


HERE SDK for Android (Premium Edition) renders extremely slowly

ε祈祈猫儿з 提交于 2020-02-25 06:20:18
问题 I started integrating HERE turn-by-turn navigation into a React Native app using the HERE SDK for Android (Premium Edition) version 3.13.3. The map view is extremely slow and sluggish although the reported rendering time is mostly between 20 and 30 ms. Using the HERE SDK Lite Edition version 4.1.4.0, the map view is snappy. I am using a Freemium account. Could this explain the slow rendering? App specs: React Native 0.60.4 Android compile and target SDKs 28 Test device: Xiaomi Redmi Note 7

How to hook into the “close infobubble” event in HERE maps Javascript API

浪尽此生 提交于 2020-02-08 07:05:26
问题 I can create infobubbles using the HERE maps Javascript API - eg from their documentation: function addInfoBubble(map) { map.set('center', new nokia.maps.geo.Coordinate(53.430, -2.961)); map.setZoomLevel(7); var infoBubbles = new nokia.maps.map.component.InfoBubbles(), TOUCH = nokia.maps.dom.Page.browser.touch, CLICK = TOUCH ? 'tap' : 'click', container = new nokia.maps.map.Container(); container.addListener(CLICK, function (evt) { infoBubbles.openBubble(evt.target.html, evt.target.coordinate

Backend Calculated Route,Here-API to just show Guidance and route on Map

烈酒焚心 提交于 2020-02-06 09:58:09
问题 I have a back-end service where the route calculation is done and I will be using here-api to display the calculated route on map and start guidance, Can I know the API which can be used for this purpose ? I have gone through, Here-API where I see We can create an Route from RouteResult on Overridden onCalculateRouteFinished() function. From the list we can get Route data and create a MapObject . Using this MapObject add this to the Map. But this is not my intention as I will not be having

HERE Maps: Adding Layer Dynamically in MapSettingsControl

拟墨画扇 提交于 2020-01-25 04:25:26
问题 Add layers in MapSettingsControl dynamically so that I can toggle there visibility. When I tried to add layer in mapSettingControl It was disabled. Background: I have a web app developed using leaflet. I have 5 layers as shown in figure-1. Its working fine in leaflet. Now I am using HERE Maps javascript API for developing same web app. How I did in Leaflet: I add them as map overlays when adding layer control i.e. let layerControl = L.control.layers(baseMaps, overlayMaps).addTo(map); while

Traffic flow request in HERE API returns results outside of the proximity

与世无争的帅哥 提交于 2020-01-24 23:30:06
问题 I am trying to get traffic flow data for a 100m proximity in Thessaloniki Greece. Specifically I send the request below: https://traffic.api.here.com/traffic/6.1/flow.json?prox=40.63373%2C22.94515%2C100&app_id=devportal-demo-20180625&app_code=9v2BkviRwi9Ot26kp2IysQ The returned json object contains road segments far outside this area. In fact it seems that even if I change the proximity radius or it's center within the city, I always get the same object as a response which seems to be

In video recording audio is not record on here sdk navigation in ios

≯℡__Kan透↙ 提交于 2020-01-24 15:47:05
问题 I am try to record video with turn by turn navigation using HERE SDK. Video recording is working perfectly when navigation is not start, but when navigation is going on and try to record video this error comes [avas] AVAudioSession.mm:1074:-[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session. 来源: https://stackoverflow.com/questions/40765776/in-video-recording-audio-is-not

HERE Maps JS API v3: customize cluster marker's color

為{幸葍}努か 提交于 2020-01-24 01:04:06
问题 I know that I could just easily override nokia.maps.clustering.MarkerTheme.getColor in version 2.5.x to customize only the color of the cluster marker , but it seems there's no easy way to do so in version 3.0.x. I mean, there is this H.clustering.ITheme interface that I could implement, yet it feels like it is a real pain for hacking into the color property. This is what I code so far (only relevant code shown): var defaultTheme = clusteredDataProvider.getTheme(), customTheme = { /** * *

Different color to noise marker using here maps

孤人 提交于 2020-01-17 12:21:10
问题 Is it possible to apply different color to different noise markers while clustering using here maps api? There's a theming option available, but that applies to all markers. I would like to set a specific color to specific point based on certain conditions. 回答1: This is certainly possible using a custom theme. The definition of the H.clustering.DataPoint object includes a data() method which can hold arbitrary data. When you prepare your dataset you can add it as shown: var dataPoints = [];

How to display markers (huge numbers) on a map which has been logically divided into segments?

前提是你 提交于 2020-01-13 07:05:12
问题 What i have done so far: i'm developing an application where i have to display more than(50K) points/Markers on the Navteq map divided into different segments. for example: if i have 50K points i will divide all points into different segments. if i divide 50K points into 50 segments each segment would have 1000 points (may not be 50 segments , it may depend). right now it is working but it takes long time and hangs to render all the points on the MAP.so that i would like to perform

How do I get a Terrain Map in UI Controls HERE Maps v3.1

放肆的年华 提交于 2020-01-11 09:24:10
问题 After upgrading to the v3.1 Javascript SDK with vector/WebGL rendering, there is now no terrain layer in the default UI Controls. I have looked into the API documentation but there is no clear example that I could find that shows how to specify what shows up in the UI Controls. var platform = new H.service.Platform({ apikey: 'key' }); var layers = platform.createDefaultLayers(); var hereMap = new H.Map( document.getElementById(mapCanvasDiv), defaultLayers.vector.normal.map, { zoom: mapOptions

工具导航Map