here-api

HERE API never runs batch job, always returns accepted status

不羁岁月 提交于 2019-12-02 03:50:57
For some reason my application stopped working this morning. After submitting a job, when making a request for it's status, it only returns accepted Here's the code I'm using to create and run the job: $url = "https://batch.geocoder.api.here.com/6.2/jobs?action=run&app_code=".$app_code."&app_id=".$app_id."&mailto=stackoverflow@example.com&outcols=latitude,longitude,locationLabel&outputcombined=true&indelim=|&outdelim=|&language=hu-HU&header=true"; if($cURLHandler) { curl_setopt($cURLHandler, CURLOPT_HTTPHEADER, array('Content-Type: text/plain')); curl_setopt($cURLHandler, CURLOPT

How to perform map marker click in HERE MAP (android )

对着背影说爱祢 提交于 2019-12-02 01:28:28
问题 I am using a map. I found an issue. How do i know which marker is clicked? @Override public boolean onMapObjectsSelected(List<ViewObject> list) {..) with On Gesture Listener i got this method but how to find particular map marker object and map marker title etc. 回答1: To obtain which marker is clicked do like below in onMapObjectsSelected method. for (ViewObject viewObject : list) { if (viewObject.getBaseType() == ViewObject.Type.USER_OBJECT) { MapObject mapObject = (MapObject) viewObject; if

Traffic flow data XML tags meaning

徘徊边缘 提交于 2019-12-01 23:16:07
I am looking for real-time traffic flow data. I found the traffic API is what I need: Click here but I really don't know what the meanings are for those XML tags, such as <FI> <TMC PC="11531" DE="Linden" QD="-" LE="0.8535"/> <CF CN="0.86" FF="69.59" JF="0.17" SP="70.13" TY="TR"/> </FI> I found the meaning of TMC DE PC But I cannot find CF CN FF JF SP TY. Anyone know these abbreviations ? Many thanks, Chuansheng I agree that it's quite hidden, but you can find the explanation for xsd schemas under the meta resources . You are most likely interested in the following REST call: http://traffic.cit

How to perform map marker click in HERE MAP (android )

家住魔仙堡 提交于 2019-12-01 20:55:52
I am using a map. I found an issue. How do i know which marker is clicked? @Override public boolean onMapObjectsSelected(List<ViewObject> list) {..) with On Gesture Listener i got this method but how to find particular map marker object and map marker title etc. To obtain which marker is clicked do like below in onMapObjectsSelected method. for (ViewObject viewObject : list) { if (viewObject.getBaseType() == ViewObject.Type.USER_OBJECT) { MapObject mapObject = (MapObject) viewObject; if (mapObject.getType() == MapObject.Type.MARKER) { MapMarker window_marker = ((MapMarker) mapObject); System

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

风流意气都作罢 提交于 2019-12-01 20:35: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.zoom, center: mapOptions.center }); var ui = H.ui.UI.createDefault(hereMap, defaultLayers); //

How to display Loading Icon while rendering Markers on the MAP

蹲街弑〆低调 提交于 2019-12-01 12:43:26
Rightnow i'm developing an application where i have to display huge number of markers on the map roughly (30K to 50K).right now while rendering the map it is taking time to render whole points so i would like to add an loading gif icon while Navteq Map renders the pointsso that user will be aware of that map is rendering the points. I'm using latest Nokia(Here)- Maps API version 2.5.3 . i have tried with transitionstart and transistionend events but it is not showing my GIF icon but if i only handle the tranisionstart event then the ICON willbe shown.but if i handle both events it would

How to display Loading Icon while rendering Markers on the MAP

孤街浪徒 提交于 2019-12-01 09:50:38
问题 Rightnow i'm developing an application where i have to display huge number of markers on the map roughly (30K to 50K).right now while rendering the map it is taking time to render whole points so i would like to add an loading gif icon while Navteq Map renders the pointsso that user will be aware of that map is rendering the points. I'm using latest Nokia(Here)- Maps API version 2.5.3 . i have tried with transitionstart and transistionend events but it is not showing my GIF icon but if i only

HERE Map/MapView without using MapFragment

穿精又带淫゛_ 提交于 2019-12-01 09:37:16
问题 Is there a way to get a Map or MapView without placing a MapFragmet inside a Layout ? <com.here.android.mpa.mapping.MapView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/here_map" android:layout_width="fill_parent" android:layout_height="fill_parent"/> I already tried to place a MapView directly in my layout but there is no method to initialize or request a Map from it. 回答1: You can have a com.here.android.mpa.mapping.MapView in your layout without the use of a

How to mix android.support.v4.app.Fragment and android.app.Fragment

北城余情 提交于 2019-12-01 04:08:26
问题 I'm having a problem with com.here.android.mapping.MapFragment when trying to use it with tabs. The issue comes that since the TabActivity is deprecated(I know it still works, but need a future proof solution), and FragmentTabHost appears to be requiring the v4 fragment to be used (it crashes if the fragment is derived from other one) , then when I try having the com.here.android.mapping.MapFragment used in a layout of one of the tab fragments, then I can not retrieve it for the required

How to call HERE Maps API v3 using HTTPS

我怕爱的太早我们不能终老 提交于 2019-11-30 20:23:12
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 javascripts have "http" calls inside their codes. By the way the backend is written in Grails and the