here-maps-rest

Zoom HERE maps to show all markers Android

心不动则不痛 提交于 2021-01-29 07:40:50
问题 I have multiple locations that I am displaying on HERE maps in my Android app. There are in all 4 markers, out of which 3 markers are in one city and 1 is in another city. Currently, my map zooms to a level where only the 3 markers in one city are visible, whereas the 4th one is not visible. In order to see that marker, I have to zoom out a considerable level. Is there a way, I can show all the markers within the bounds of the map? Here is my code:- m_map = mapFragment.getMap(); m_map

Increasing search radius for way points in Here Maps Fleet Telematics API

北战南征 提交于 2021-01-28 05:09:58
问题 I am regularly getting the error 'Cannot match 52.19888/11.32296 onto a road link with 100.0m search radius'. In these cases, the location is often a warehouse that is indeed more than 100 meters from the nearest public road. Here is an example query: http://fleet.api.here.com/2/calculateroute.json?mode=fastest;truck;traffic:disabled&driver_cost=20&currency=EUR&rollups=total,country,tollsys,country;tollsys&commercial=1&shippedHazardousGoods=0&waypoint0=52.51,13.42&waypoint1=52.2787499,11

Here Maps: How to retrieve speed limit information in an efficent way?

元气小坏坏 提交于 2021-01-27 10:59:09
问题 We are trying to retrieve speed limit information for a specific point (latitude, longitude). We are using the Geocoder API and Fleet Telematics Advanced Data Sets from Here Maps . For some GPS points, the speed limit values retrieved does not match with the real speed limit. Following are the possible causes: GPS accuracy. If a GPS point can be related to different road types. How we can filter by type road? Multilevel roads. Roads very close to each other. We are not applying the correct

Bug: Issues with Here Map request

隐身守侯 提交于 2021-01-07 02:34:43
问题 I have an issue to get the medias download links in a lookup request. My lookup request is as below: https://places.api.here.com/places/v1/places/lookup?source=sharing&id=s-Yz1yZXN0YXVyYW50O2lkPTI1MHUwOXdoLTcxZmE5ZDViODY2OTRhM2FiYmFiYzFkZWM2Y2FmMzViO2xhdD00OC44Njk0Njtsb249Mi4zMDM0NTtuPVpJVEk7bmxhdD00OC44Njk1ODtubG9uPTIuMzAzNTI7cGg9JTJCMzMxNDU2MzQ4NDg7aD0yYjBkMWU&X-Political-View=FRA&app_code=mycode&app_id=myappid&image_dimensions=w600-h600&show_content=wikipedia&show_refs=facebook,tripadvisor

Bug: Issues with Here Map request

二次信任 提交于 2021-01-07 02:34:01
问题 I have an issue to get the medias download links in a lookup request. My lookup request is as below: https://places.api.here.com/places/v1/places/lookup?source=sharing&id=s-Yz1yZXN0YXVyYW50O2lkPTI1MHUwOXdoLTcxZmE5ZDViODY2OTRhM2FiYmFiYzFkZWM2Y2FmMzViO2xhdD00OC44Njk0Njtsb249Mi4zMDM0NTtuPVpJVEk7bmxhdD00OC44Njk1ODtubG9uPTIuMzAzNTI7cGg9JTJCMzMxNDU2MzQ4NDg7aD0yYjBkMWU&X-Political-View=FRA&app_code=mycode&app_id=myappid&image_dimensions=w600-h600&show_content=wikipedia&show_refs=facebook,tripadvisor

Is Geovisualization API compatible with JavaScript 3.1 SDK?

元气小坏坏 提交于 2020-05-31 20:29:36
问题 it seems that the Geovisualization is not compatible with the JS Framework 3.1 of your mapping SDK. Are you planning on updating it ? Or can you provide a replacement ? Here is the link to the doc used: https://developer.here.com/documentation/geovisualization/dev_guide/topics/overview.html It supposed to be used by adding this Script : <script type="text/javascript" src="https://js.cit.datalens.api.here.com/2.6.1/mapsjs-datalens.js"></script> And the error with the new version: Uncaught

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

In Here-API how do we show downloaded region package NMAMapLoader in MapView?

∥☆過路亽.° 提交于 2019-12-11 17:10:00
问题 I downloaded and run map-downloader-ios-swift (https://github.com/heremaps/here-ios-sdk-examples/blob/master/map-downloader-ios) project and it worked well. After finished download 1 region package, how do we show that region in mapview without an internet connection? Also is it possible to add routes in that downloaded region in offline mode? Thank you. 回答1: In offline mode, cached map data is used for rendering, routing, searching, etc. So since you have downloaded the map region package of

Stick dom marker in here maps on zooming

牧云@^-^@ 提交于 2019-12-11 16:59:21
问题 I'm trying to add a truck Marker in the HERE Map. This marker is basically a truck icon. Here is my code. addDomMarker(posObj): void { const map = this.mapComponent.getMap(); (window as any).mymap = map; const domIcon = new H.map.DomIcon(truckIcon); this.truckMarker = new H.map.DomMarker(posObj, { icon: domIcon }); map.addObject(this.truckMarker); map.setCenter(posObj); } export const truckIcon = `<div class="truck-container"> <svg class="truck-marker" id="truck" ... // svg code </svg></div>`