here-api

Tap On Particular Marker how to get title name

百般思念 提交于 2019-12-12 02:43:35
问题 In Android we can get marker name as this How to perform map marker click in HERE MAP (android ) But In iOS am using for (NMALink* item in _resultsArray) // NMAPlaceLink { if ([item isKindOfClass:[NMAPlaceLink class]]) { [self addMarkerAtPlace:(NMAPlaceLink*)item]; } } Mutltipe markers add on Map - (void)addMarkerAtPlace:(NMAPlaceLink*)placeLin { NMAImage* img = [NMAImage imageWithUIImage:[UIImage imageNamed:@“”]]; NMAMapMarker *_mapMarker = [[NMAMapMarker alloc] initWithGeoCoordinates:

Nokia HERE maps: Trigger Public Transport through code

亡梦爱人 提交于 2019-12-12 01:09:40
问题 I want to trigger 'Public Transport' toggle button's action through code. I have searched everywhere but I couldn't find any resource on this. 回答1: You can set the baseMapType of the Display using the standard setter as shown: map.set("baseMapType", nokia.maps.map.Display.SMART_PT) And then you can reset to normal by, map.set("baseMapType", nokia.maps.map.Display.NORMAL) 来源: https://stackoverflow.com/questions/20103764/nokia-here-maps-trigger-public-transport-through-code

Add an NMAMapOverlay to the Map

落花浮王杯 提交于 2019-12-11 21:29:09
问题 This question was answered saying that NMAMapOverlay is the thing to use for a callout when a user taps a marker. The SDK documentations says The NMAMapOverlay class represents a special type of map object that does not inherit from the NMAMapObject base class. Instead, it inherits from the UIView class of Apple’s UIKit framework. Since it is a UIView, you cannot call the addMapObject of NMAMapView . I cannot find anywhere in the documentation where it says how to add an NMAMapOverlay to the

Adequate Places API for travel app

好久不见. 提交于 2019-12-11 18:43:27
问题 I'm looking for a place API that can be used with a map API. Here are three APIs I've been thinking about: - Google Maps/Places: https://developers.google.com/maps/ - Microsoft Bing: https://www.microsoft.com/maps/developers/mapapps.aspx - Nokia Maps: http://api.maps.nokia.com/2.1.0/devguide/overview.html They seem to be likely to give good results. The application I'm going to work on is on travel information. So we would like to use the best API for finding sightseeing, accommodations,

Nokia HERE Maps javascript API: Is there any property to fix the position of an infoBubble?

拟墨画扇 提交于 2019-12-11 18:09:38
问题 Currently we are using HERE Javascript Api 2.5.3 (https://js.api.here.com/se/2.5.3/jsl.js?with=all) and created a InfoBubbleMarker - within custom html content - based on the description in nokias developers ApiExplorer (http://developer.here.com/apiexplorer/examples/api-for-js/information-bubbles/extend-marker-to-infobubblemarker.html) While the infoBubbles automated position switch - depending on the fact, where is place to display it - is often kind of nice, we want to disable it. So: Is

Here API clustering error: “addLayer is not defined”

不问归期 提交于 2019-12-11 17:47:48
问题 I am try to use clastering in my aplication but I am get a error addLayer is not defined". I have no Idea how to resolve this issue. I just copy and paste this sample function from Here API samples api clusters And I'm passing lat and lng, to the function but addLayer is undefined. I have the map object, but the addLayer is undefined. function startClustering(map, data) { // First we need to create an array of DataPoint objects, // for the ClusterProvider var dataPoints = data.map(function

Toll Cost VAT HERE API

我的未来我决定 提交于 2019-12-11 17:33:05
问题 I have two routes in Italy. Gad-Oulx - Genova. The toll cost returned is 58.70 EUR without VAT. https://tce.cit.api.here.com/2/calculateroute.json?mode=fastest;truck;traffic:disabled&departure=now&avoidseasonalclosures=true&cost_optimize=1&metricsystem=metric&truckRestrictionPenalty=soft&driver_cost=15&vehicle_cost=0.85&currency=EUR&vehicletype=diesel,24&truckType=tractorTruck&tollVehicleType=3&hybrid=0&emissionType=6&passengersCount=1&commercial=1&trailerType=2&trailersCount=1

Here Fleet Telematics Waypoint Sequence has limited request a day

梦想与她 提交于 2019-12-11 17:24:45
问题 We are on testing the optimizing route, and the waypoints sequence. I used this API https://wse.api.here.com/2/findsequence.json Everything is working well, but suddenly i got responseCode: 429 Daily limit of 10 requests has been reached Is it Limited Request for Freemium? Is it Limited Per Domain or IP or Server? How do we extend this limited request? Best Regards 回答1: WSE has 10 requests limit per day per APP ID. Yes this limit restriction is for freemium accounts. For Freemium plans only,

Normalization of coordinates to closest route

我的梦境 提交于 2019-12-11 17:22:06
问题 In my application I receive GPS coordinates which I use to draw route using HERE 's calculateRoute method and polyline. But results are poor and rarely accurate probably due to low accuracy of the measurements. Example of this behavior on the picture below - actual route should be only on the biggest, diagonal street. So my idea to circumvent this problem is to first 'normalize' these coordinates by approximating them to nearest street. My question is: does HERE API provides such method and

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