here-api

How to call HERE Maps API v3 using HTTPS

走远了吗. 提交于 2019-11-30 04:50:44
问题 How can I call HERE maps through HTTPS ? I'm using HTTPS on my server so when I call this: <script src="http://js.api.here.com/v3/3.0/mapsjs-core.js" type="text/javascript" charset="utf-8"></script> <script src="http://js.api.here.com/v3/3.0/mapsjs-service.js" type="text/javascript" charset="utf-8"></script> The browser blocks the request because of "Mixed Content" and therefore no map is shown... I tried to change "http" to "https" on the script source but I get the same issue cause both

Disable traffic map views with HERE JavaScript API

送分小仙女□ 提交于 2019-11-29 17:07:58
HERE Map material comes with different map views and possible overlays like 'Traffic conditions', 'Public transport' and 'Incidents'. I do not want to offer these three views at all. Unfortunately, I was only able to deactivate them by the following code: //disable traffic information var control = HEREMap.ui.getControl('mapsettings'); control.getChildren()[1].m[3].setDisabled(true); control.getChildren()[1].m[2].setDisabled(true); control.getChildren()[1].m[1].setDisabled(true); However, this leaves me with gray, unclickable options for like 'Traffic conditions', 'Public transport' and

App crashes (sometimes) with Fatal signal 11 (SIGSEGV), code 1

江枫思渺然 提交于 2019-11-29 03:43:33
I am developing an app with the HERE SDK, and everything worked fine until now. I get errors like this one: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x750057 in tid 10206 (FinalizerDaemon) or this one: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x94789680 in tid 24605 (FinalizerDaemon) and they make my app crash. It's not always the same errors, but they always come all alone in my Logcat,with no other information. In all my app I am using HERE objects and services, and even by printing the stacktrace I don't get more information about the errors. I just noticed that these errors

Here-api offline maps installation

早过忘川 提交于 2019-11-28 14:23:15
In MapEngine initialization I want to install all packages but I am stuck here installMapPackages(List packageIdList) from where can I find List packageIdList. You should use the MapLoader#getMapPackages() API to retrieve the root MapPackage object. You can then use the MapPackage#getId() method to find the Id's of the countries/regions you wish to install. Note that the MapPackage object is not returned directly from the MapLoader#getMapPackages() call, but instead through a Listener object. You must provide your own MapLoader.Listener implementation and set it by way of the MapLoader

Interpreting HERE Maps real-time traffic tags

会有一股神秘感。 提交于 2019-11-28 11:35:42
I've read all the HERE Maps API documentation but couldn't find the answer. What is the meaning of the XML tags in the HERE real-time traffic REST API output? <FI><TMC PC="4375" DE="Rivonia Road" QD="-" LE="0.55047"/><CF CN="0.83" FF="24.0" JF="6.8228" SP="10.78" SU="10.78" TY="TR"/></FI> Does anyone know how to interpret this output (I used proximity parameter in my request)? I noticed that a lot of people have this question and the answer is somewhat difficult to find. I've posted a list of the tag meanings I could find below. "RWS" - A list of Roadway (RW) items "RW" = This is the composite

Disable traffic map views with HERE JavaScript API

拈花ヽ惹草 提交于 2019-11-28 11:10:41
问题 HERE Map material comes with different map views and possible overlays like 'Traffic conditions', 'Public transport' and 'Incidents'. I do not want to offer these three views at all. Unfortunately, I was only able to deactivate them by the following code: //disable traffic information var control = HEREMap.ui.getControl('mapsettings'); control.getChildren()[1].m[3].setDisabled(true); control.getChildren()[1].m[2].setDisabled(true); control.getChildren()[1].m[1].setDisabled(true); However,

Here Maps JavaScript API 3.0 Explorer How to set marker color

做~自己de王妃 提交于 2019-11-28 10:40:18
问题 I can't find any documentation or examples for setting a markers colour in version 3.0 API. you could do this with the 2.5, do any one know if marker colour is supported anymore function addMarkersToMap(map) { var parisMarker = new H.map.Marker({ lat: 55.560789, lng: 12.981141 }); map.addObject(parisMarker); } 回答1: As stated in the example in the API Explorer, creating an H.map.Marker without specifying an icon results in a default image. If you need to have different colored icons, you will

Gradle native libraries not found on device but present in apk

冷暖自知 提交于 2019-11-28 01:20:33
My application uses Here SDK and Twilio SDK . Both uses native libraries (Here SDK with native libraries locally plugged in from /libs and /jniLibs folders, Twilio SDK plugged in from jCenter). But on Android 5.1 Here SDK throws exception "MISSING LIBRARIES: libMAPSJNI.so" although this library present in result APK. I opened folder where my program is installed on device and compared content in two cases: with or without Twilio SDK. The difference is that when connected Twilio API folder /lib is a file, and for obvious reasons, the loader can not see inside it native libraries needed

App crashes (sometimes) with Fatal signal 11 (SIGSEGV), code 1

会有一股神秘感。 提交于 2019-11-27 17:57:27
问题 I am developing an app with the HERE SDK, and everything worked fine until now. I get errors like this one: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x750057 in tid 10206 (FinalizerDaemon) or this one: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x94789680 in tid 24605 (FinalizerDaemon) and they make my app crash. It's not always the same errors, but they always come all alone in my Logcat,with no other information. In all my app I am using HERE objects and services, and even by

Here-api offline maps installation

你离开我真会死。 提交于 2019-11-27 08:34:13
问题 In MapEngine initialization I want to install all packages but I am stuck here installMapPackages(List packageIdList) from where can I find List packageIdList. 回答1: You should use the MapLoader#getMapPackages() API to retrieve the root MapPackage object. You can then use the MapPackage#getId() method to find the Id's of the countries/regions you wish to install. Note that the MapPackage object is not returned directly from the MapLoader#getMapPackages() call, but instead through a Listener