here-api

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

Is it possible to place a grid in Nokia maps?

拟墨画扇 提交于 2020-01-07 06:27:41
问题 Im using nokia maps javascript api, is posible place a grid in the map? 回答1: The easiest way to do this would be to use a transparent grid PNG as an overlay. First create a 256x256 PNG file as shown below. Then use that as your getTileUrl() function, so it is returned over all of the Map tiles on the map. var getTileUrl = function (zoom, row, column) { return "http://i.stack.imgur.com/M1ncK.png"; }; The result is something like this: An example can be seen below, with your own PNG file, app

Suddenly API crashes in routing-nlp.js, getting 503 Service Unavailable: Back-end server is at capacity back from call

随声附和 提交于 2020-01-07 03:46:08
问题 We suddenly get this error from our application, without having changed a thing with our related code. Line: 23 Error: Unable to get property 'error' of undefined or null reference And this when debugging in Visual studio. Unhandled exception at line 23, column 387 in https://js.api.here.com/ee/2.5.4/routing-nlp.js When trying to get a response from https://route.nlp.nokia.com/routing/6.2/calculateroute.json?routeattributes=shape&maneuverattributes=direction,shape&jsonAttributes=1&waypoint0

Convert terminal cURL command to PHP cURL request

回眸只為那壹抹淺笑 提交于 2020-01-07 00:34:09
问题 I am trying to send a cURL request from PHP to Here Maps' RESTFUL Batch API. The documentation states, that using this cURL script, I can send a data file with the data I need to them: curl -X POST -H "Content-Type: text/plain" --data-binary @addresses.txt "http://batch.geocoder.cit.api.here.com/6.2/jobs? &app_code=AJKnXv84fjrb0KIHawS0Tg &app_id=DemoAppId01082013GAL &action=run &header=true &inDelim=; &outDelim=, &outCols=recId,latitude,longitude,locationLabel &mailto=<my_email>

Does here have custom map style?

与世无争的帅哥 提交于 2020-01-06 19:58:20
问题 Does here api support custom map style like what MapBox does? This link is for Mapbox: https://www.mapbox.com/developers/api/styles/#Create.a.style I just found a little information on here website at: https://developer.here.com/rest-apis/documentation/enterprise-map-tile/topics/example-custom-map-style.html 来源: https://stackoverflow.com/questions/35664468/does-here-have-custom-map-style

Does here have custom map style?

冷暖自知 提交于 2020-01-06 19:58:13
问题 Does here api support custom map style like what MapBox does? This link is for Mapbox: https://www.mapbox.com/developers/api/styles/#Create.a.style I just found a little information on here website at: https://developer.here.com/rest-apis/documentation/enterprise-map-tile/topics/example-custom-map-style.html 来源: https://stackoverflow.com/questions/35664468/does-here-have-custom-map-style

How to display duplicate maker in cluster here map

柔情痞子 提交于 2020-01-06 18:00:38
问题 I am using here map and I use clustering. But I have problem for displaying maker whose cordinates are same /dublicate . When I zoom in clustering , unfortunately the makers are not visible but cluster is still visible. How to display these makers when cluster is zoomed ? My clustering options is as following var clusteredDataProvider = new H.clustering.Provider(dataPoints, { clusteringOptions : { eps : 16, minWeight : 2 }, theme : new PusulaClusterTheme() }); 回答1: We had the same issue. If

Here JavaScript 3.0 API - decent color scheme

时光怂恿深爱的人放手 提交于 2020-01-06 12:40:05
问题 I'm adding a Here Map as fullscreen interactive background to a website. Now I'm searching for a way to change the color scheme to a more subtile one. I know there is the Map Tile API - but I really want to have the map interactive, not just an image. I think with API 2.5 there was a way for a grey color scheme? In moment I just change the CSS opacity but this isn't optimal, because it also makes the buttons like (zoom, ...) less visible. 回答1: The JS API connects pretty seamlessly to the Map

How to remove all colors from Here Maps base layer?

帅比萌擦擦* 提交于 2020-01-06 08:42:09
问题 How to remove all colors from Here Maps base layer? I do not want to see the freeways in pink or the streets in yellow. I want a custom grey color layer on the map. 回答1: The HERE Map Tile API lets you choose different styles though you cannot completely customize the color selection (yet). For example, here is the reduced-day style that removes pink freeways and yellow streets. This is how it's done with the JavaScript API: //...create your own layer (with e.g. the "reduced" scheme var

How to remove all colors from Here Maps base layer?

与世无争的帅哥 提交于 2020-01-06 08:41:14
问题 How to remove all colors from Here Maps base layer? I do not want to see the freeways in pink or the streets in yellow. I want a custom grey color layer on the map. 回答1: The HERE Map Tile API lets you choose different styles though you cannot completely customize the color selection (yet). For example, here is the reduced-day style that removes pink freeways and yellow streets. This is how it's done with the JavaScript API: //...create your own layer (with e.g. the "reduced" scheme var