here-api

MapView by Here crashes when calling mapView.onCreate in a single Activity architecture

断了今生、忘了曾经 提交于 2020-08-10 13:39:14
问题 I'm using a single-activity architecture, with Fragments as screen, and using the Navigation component. In the first fragment, I initialize the map in onViewCreated and destroy it in onDestroyView. override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) mapView.onCreate(savedInstanceState) loadMapScene() } override fun onDestroyView() { mapView?.onDestroy() super.onDestroyView() } From this fragment, user can navigate to another

Here suggest API returns PARSING_ERROR

最后都变了- 提交于 2020-07-03 08:10:38
问题 Since yesterday, our Here API to get place suggestions systematically returns 'PARSING_ERROR'. The status page at here https://status.here.com/status says all is fine, so what can be the problem? Our code, operational in live since weeks: if (fromCoordinates == null) { double lat = getIntent().getDoubleExtra("lat", 0.0); double lng = getIntent().getDoubleExtra("long", 0.0); fromCoordinates = new GeoCoordinates(lat, lng); int maxItems = 5; searchOptionsFrom = new SearchOptions(LanguageCode.EN

HERE Routing API V8: How to get route with multiple pass through waypoints

[亡魂溺海] 提交于 2020-06-27 16:54:11
问题 In v7, this is the way of getting route with multiple passthrough waypoints: https://route.api.here.com/routing/7.2/calculateroute.json?waypoint0=32.353514,-61.126775&waypoint1=passThrough!32.365181,-61.102086&waypoint2=32.360273,-61.091979&mode=fastest;pedestrian... In v8 api reference, there's "via" which seems to be used for stop over waypoints. I tried https://router.hereapi.com/v8/routes?transportMode=pedestrian&return=summary,polyline,actions,instructions&origin=42.353514,-71.126775;42

HERE Routing API V8: How to get route with multiple pass through waypoints

断了今生、忘了曾经 提交于 2020-06-27 16:54:05
问题 In v7, this is the way of getting route with multiple passthrough waypoints: https://route.api.here.com/routing/7.2/calculateroute.json?waypoint0=32.353514,-61.126775&waypoint1=passThrough!32.365181,-61.102086&waypoint2=32.360273,-61.091979&mode=fastest;pedestrian... In v8 api reference, there's "via" which seems to be used for stop over waypoints. I tried https://router.hereapi.com/v8/routes?transportMode=pedestrian&return=summary,polyline,actions,instructions&origin=42.353514,-71.126775;42

HereMaps - These credentials do not authorize access. Can't get valid response for Public Transit API

[亡魂溺海] 提交于 2020-06-17 02:18:29
问题 I have registered for a public 90-day free trial on HereMaps few days ago and I can't get a valid response for a public transit api. Routing works properly but that API doesn't. I call example request from documentation with my valid credentials: https://transit.cit.api.here.com/v3/route.json ?app_id={APP_ID} &app_code={APP_CODE} &routing=all &dep=41.9773,-87.9019 &arr=41.8961,-87.6552 &time=2017-12-11T07%3A30%3A00 after calling it, I receive that response: { "Res": { "serviceUrl": "https:/