Giter VIP home page Giter VIP logo

here-ios-sdk-examples's Introduction

HERE Mobile SDK 3.x for iOS example projects

Deprecated

Copyright (c) 2011-2022 HERE Europe B.V.

This repository holds a series of Objective-C and Swift projects using the HERE Mobile SDK for iOS. More information about the API can be found on developer.here.com under the Android & iOS SDKs section.

Note: This service is no longer being actively developed. We will only provide critical fixes for this service in future. Instead, use the new HERE SDK 4.x HERE Premium SDK (3.x) is superseded by new 4.x SDK variants and the Premium SDK will be maintained until 31 December 2022 with only critical bug fixes and no feature development / enhancements. Current users of the HERE Premium SDK (3.x) are encouraged to migrate to Lite, Explore or Navigate HERE SDK (4.x) variants based on licensed use cases before 31 December 2022. Most of the Premium SDK features are already available in the new SDK variants. Onboarding of new customers for Premium SDK is not possible.

This set of self-contained, use-case based projects is designed to be cloned by developers for their own use.

Note: In order to get the sample code to work, you must replace all instances of {YOUR_APP_ID}, {YOUR_APP_CODE} and {YOUR_LICENSE_KEY} within the code and use your own HERE credentials.

You can obtain a set of credentials from the Contact Us page on developer.here.com.The bundle ID registered must match it in your app.

License

Unless otherwise noted in LICENSE files for specific files or directories, the LICENSE in the root applies to all content in this repository.

HERE Mobile SDK for iOS (Premium)

All of the following projects use version 3.19 of the HERE Mobile SDK for iOS (Premium)

How to build apps

Using CocoaPods

  1. Run "pod install" or "pod update" in the application's root directory to install the HERE Mobile SDK. This will integrate NMAKit.xcframework into your project

  2. In the "General" settings of the App target:

    • Select an eligible provisioning profile or enable "Automatically manage signing".
  3. In AppDelegate.m:

    • Enter an app id, app code and license key.

Without CocoaPods

  1. In the "General" settings of the App target:

    • Select an eligible provisioning profile or enable "Automatically manage signing".
    • Add NMAKit.xcframework to the "Frameworks, Libraries and Embedded Content" section in Xcode. Avoid "Do Not Embed" option. Otherwise you will get a "dyld: Library not loaded: @rpath/NMAKit.framework/NMAKit" error at runtime.
  2. In AppDelegate.m:

    • Enter an app id, app code and license key.

Build Requirements

  • Xcode 12 or above
  • HERE Mobile SDK for iOS (Premium) Version 3.19 or above

Target Platform

  • iOS 14 or above

here-ios-sdk-examples's People

Contributors

abdullahselek avatar ambroseli avatar dashchak avatar datasun avatar dependabot[bot] avatar f4st avatar freethan avatar here-sdk-support-team avatar johnlxiang avatar leoric32 avatar makra avatar mihonka avatar mmarcon avatar nazarkacharaba avatar oleksandrliashko avatar renanbandeira avatar rkovalch avatar silvestrpredko avatar smartiushev avatar sschuberth avatar starand avatar tlushney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

here-ios-sdk-examples's Issues

navigationManager didFindAlternateRoutes not firing

Hello,

navigationManager didFindAlternateRoutes was working fine for us until we upgraded to v3.13.3. Now it is not firing for us after we upgraded to v3.13.3.

Note that we have not changed any code. The same issue is happening for Android.

Please advise?

Public transport routing walkSpeed doesn't work

Hi,
I used SDK to get public transport route, but the result are different from HERE WeGo (HERE iOS App). And I found the walk time are various. I try modify the walkSpeed of NMARoutingMode, but the walk time of route didn't change. (walkSpeed doesn't work)

If anyone know how to adjust the walk speed over iOS SDK ? Thanks.

sdk version 3.13.2

Unable to set marker on map

Hello there!
Checked docs and examples, tried setting image as literal, accessing by asset name, setting on NMAMapMarker init, setting it as value (marker.icon = UIImage(named: "marker.png")). Nothing helped.
I can see the marker as an object in debugger and mapView.add(marker) returns true, map scrolls to that place when I pass the same point to set() method of NMAMapView, but I can't see actual marker on a map.
Can't say whether it is my mistake or something's really broken in SDK?

let marker = NMAMapMarker(geoCoordinates: point, image: UIImage(named: "marker.png"))
mapView.add(marker)
let zoom = zoomLevel ?? mapView.zoomLevel
mapView.set(geoCenter: point, zoomLevel: zoom, animation: .linear)

Swift 5, iOS 12.2, project's build target iOS 10.0

Autozoom issue during turn by turn

I have a recenter button in my turn by turn navigation view.

The logic behind the recenter button is as follows:

  • When I press recenter it sets mapTrackingEnabled and mapTrackingAutoZoomEnabled to true.
  • When the mapViewDidBeginMovement function is called I set mapTrackingEnabled and mapTrackingAutoZoomEnabled to false.

It only seems to happen when the user's position is in the top left or top right of the map.

Here is a gif showing what happens:
ezgif-6-068fca3a68d6

HEREMaps doesn't appear in Pod's Targets

Hello HERE developers,
I'm having a problem with NMAKit while using pod for installation. In my podfile I've added pod 'HEREMaps' , but after running pod install my project won't compile, and I don't see HEREMaps (or NMAKit) in the list of pod's generated targets : https://monosnap.com/file/rGBzgiM809dn33JD1aq0ta37V0Si1n

Eventually I need to manually add NMAKit.framework to my main project in order for my project to compile, however because NMAKit is not in the pod's generated target, I cannot disable BIT_CODE and submit the archived binary to appstore.

I'm a premium user and this really annoys me. Please investigate and fix this.

GuidanceApp example not triggering NMANavigationManagerDelegate calls

This seems to be due to the simulation code path missing a call to startTurnByTurnNavigation.

This works:

    alert.addAction(UIAlertAction(title: "Simulation", style: .default) { _ in
      let source = NMARoutePositionSource(route: route)
      source.movementSpeed = 60
      NMAPositioningManager.sharedInstance().dataSource = source
      
      let navigator = NMANavigationManager.sharedInstance()
      navigator.mapTrackingEnabled = true
      navigator.mapTrackingAutoZoomEnabled = true
      navigator.mapTrackingOrientation = .dynamic
      navigator.isSpeedWarningEnabled = true
      navigator.startTurnByTurnNavigation(route) // <== the important part
    })

Error Publishing to App Store

I have an rejection to using this library, it is ITMS- 90338 as emailed by Apple, anyone have same issue like me, if so please let me know how to resolved it

Transit routing estimate time

Hi HERE,

We use mobile SDK to get transit routing, and have encountered some issues would like to ask you.

  1. Wait bus/train time

Start time 3:00, walk 10 min to bus stop, and the bus start at 3:15. Is this 5 min waiting included in total travel time??

I used several times to get public transit routing.

3:00 ----- (10 min walk) --------3:10(bus stop) ------ (20 min travel time)------3:30 arrive
3:05 ----- (10 min walk) --------3:15(bus stop) ------ (20 min travel time)------3:35 arrive
3:10 ----- (10 min walk) --------3:20(bus stop) ------ (20 min travel time)------3:40 arrive

But the bus departure time interval is more than 10 min, you can never arrive the bus stop and just got the bus coming.

Is there any SDK API or parameter setting for get real bus departure time and include the waiting time? In order to get more accurate time estimate, those are better to be considered.

  1. bus arrive / departure time

Some vehicles will wait for a while before starting. Is the time from SDK transit routing arrive time or departure time??

Best regards,

Jon Chiang

Cannot upload new layer using API

I use this url to upload new layer
https://cle.api.here.com/2/layers/upload.json?layer_id=1&file=ID%09NAME%09WKT%0AAA%09nam_te%73t%09LINESTRING%28105.805389 20.999508%2C105.805165 20.99895%29&app_id={app_id}&app_code={app_code}

Response is

{
    "storedTilesCount": 1,
    "response_code": "201 Created"
}

Which is okay.

However, I continue to call this API with the same layer_id:
https://cle.api.here.com/2/search/proximity.json?layer_ids=1&proximity=20.999508,105.805389,200&app_code={app_code}&app_id={app_id}

Response is:

{
    "issues": [
        {
            "message": "No layer or no layer covering the area found"
        }
    ],
    "error_id": "05f8a41a-6cb4-4c21-82a4-4a94c35017ce",
    "response_code": "400 Bad Request"
}

Is that because the upload.json API did not upload a new layer?
What was I wrong here?

Thank you.

License key?

The instructions say to update the appdelegate with the license key from my credentials. I see an app id and app code but nothing that says license key. Where do I get the license key to use in the sample ios apps?

Navigation Map Swing

When driving straight forward on the road, the map always lean left and right randomly. See attached file. (simulation and real driving both show swing)

At the turn, the swing is more obvious.
The direction of the vehicle sign is unstable. It randomly sway to other directions instead of going straight. One severe scenario is when I turn left at the intersection, it shows I turn 180 degree.

How to stop the swing ?? Thanks.

sdk version 3.13
mapTrackingEnable = true
mapTrackingAutoZoomEnable = true
mapTrackingOrientation = .dynamic

620-2.MOV.zip

let marker = NMAMapMarker.init(geoCoordinates: location.transformToNMACoordinate(), icon: NMAImage.init(uiImage: markerImage)!)
mapView.positionIndicator.displayObject = marker

Delegate NMAManagerDelegate

Hi, in your Example GuidanceApp the NavigationManager doesn´t call the NMAManagerDelegate when start the simulated route, I describe the steps below:

  • In the info.plist file I have added the Privacy - Location When In Use Usage Description
    permission
  • I have set the delegate in the viewDidLoad.
  • I am doing the tests in the Xcode simulator.
  • The route starts and is drawn correctly but the delegate is not called

Attached route start image:
image

I await your solution, greetings!!!

NMARoutingErrorViolatesOptions

sometimes we are getting NMARoutingErrorViolatesOptions
after a while routing same coordinates gives correct response.

is it something like "someting happen on our server please try again" ? )

Crazy archived .ipa file size

Hello,

I'm having a problem with the .ipa file size. Previously I was using older version (v3.1, which I manually added to my project) and everything went fine, the archived .ipa file was around 60MB in size.

However just lately I've updated the framework to the latest version via Pod, and to my astonishment, the archived .ipa file went up to 280MB in size, which is absolutely not an reasonable number. I cannot submit my app in this condition.

Can anyone please check this? Or at least suggest a solution?

Implementing NMAMapGestureDelegate make the map unusably slow

If i implemente any of the NMAMAPGestureDelegate protocol's methods regarding the pan gestures, the map becomes suddenly painfully slow, be it on the simulator or an actual test device.

I am pulling the sdk through cocoapods for a swift projet

Is this a newly introduced bug ? can i roll back to a previous version of the sdk ?

these are the ones i tested :

- (void)mapView:(nonnull NMAMapView *)mapView didReceivePan:(CGPoint)translation atLocation:(CGPoint)location NS_SWIFT_NAME(mapView(_:didReceivePan:at:));

- (void)mapView:(nonnull NMAMapView *)mapView didReceiveTwoFingerPan:(CGPoint)translation atLocation:(CGPoint)location NS_SWIFT_NAME(mapView(_:didReceiveTwoFingerPan:at:));

ENV:
issue encoutered on both Xcode 9.2 / Xcode 10.0
Cocoapods first pulled the 3.6 version and then i tested with 3.5 thinking it s a new introduced bug, but the issue remained

signing error: Bundle identifier not specified

Hi,
We are getting "Signing error: Bundle identifier not specified" error during generating ipa.

looks like your framework file not unsigned unlike other third party framework files we have used before.that is why encountering such error.
Could you provide unsigned .framework file ?

NMAPositioningManager currentRoadElement

Hi,

I am trying to configure HereMaps for use with out NMAMapView object.
I have implemented few helper methods for that
`

@objc(initializeNMAContext)
class func initializeNMAContext() {
    guard !NMAApplicationContext.isInitialized() && MotionPermissionViewController.isDetermind else { return }
    let context = "NMAContext-Info".readPlist()
    if let appId = context?["appId"] as? String,
    let appCode = context?["appCode"] as? String,
    let licenseKey = context?["licenseKey"] as? String {
        NMAApplicationContext.setAppId(appId, appCode: appCode, licenseKey: licenseKey)
    }
    
    DispatchQueue.main.async {
        NMANavigationManager.sharedInstance().mapTrackingEnabled = true
        NMANavigationManager.sharedInstance().mapTrackingAutoZoomEnabled = true
        NMANavigationManager.sharedInstance().backgroundNavigationEnabled = true
        NMANavigationManager.sharedInstance().backgroundMapTrackingMaximumRefreshRate = 0.2
        NMANavigationManager.sharedInstance().mapTrackingOrientation = .dynamic
        NMANavigationManager.sharedInstance().isSpeedWarningEnabled = true
        
        if let dataSource = NMAHEREPositionSource() {
            NMAPositioningManager.sharedInstance().dataSource = dataSource
            dataSource.setBackgroundUpdatesEnabled(true)
        }
    }
}

@objc(isPositioning)
class func isPositioning() -> Bool {
    return NMAApplicationContext.isInitialized() && NMAPositioningManager.sharedInstance().isActive
}

@objc(startPositioning)
class func startPositioning() {
    guard NMAApplicationContext.isInitialized() else { return }
    if !NMAPositioningManager.sharedInstance().isActive {
        BackgroundTask.run(queue: .main) { task in
            _ = NMAPositioningManager.sharedInstance().startPositioning()
        }
    }
}

@objc(stopPositioning)
class func stopPositioning() {
    guard NMAApplicationContext.isInitialized() else { return }
    NMAPositioningManager.sharedInstance().stopPositioning()
}

`

And I do listen to NMAPositioningManagerDidUpdatePosition notification
However, currentRoadElement is always null in there.

Can you help me with it?
What is the correct use case for background execution with out maps.
No maps I mean:
There is no NMAMapView object
Nothing is displayed on the screen.

(We are talking about realtime use-case)

what is navigationManager.setMapUpdateMode equivalent for ios ? (ROADVIEW)

Hi we did not found any mapupdatemode for ios sdk
we were using this to achive real turn by turn navigation with android sdk

also mapview.tilt=80 also ignored

we want to achive this skyvisible tilting more realistic turnbyturn

navigation-car 1

public static final MapUpdateMode ROADVIEW

Map updated using NavigationManager.RoadView, with zoom level automatically adjusted according to the approaching maneuver, road type and speed

What is the iOS corresponding to Java´s onMapObjectsSelected Gesture Event?

In Java´s SDK version there is a method called

boolean onMapObjectsSelected(java.util.List<ViewObject> objects)

(https://developer.here.com/documentation/android-starter/api_reference_java/com/here/android/mpa/mapping/MapGesture.OnGestureListener.html).

Is there a corresponding iOS implementation?

All I can find is

-(void)mapView:(NMAMapView *)mapView didReceiveTapAtLocation:(CGPoint)location

to handle tapEvents. (https://developer.here.com/documentation/ios-premium/dev_guide/topics/map-gestures.html)

How could I implement such a behavior on my own?

Thanks!

Value of City in Address is Equal to District

Hi,
i have an issue about return value of detailRequest from NMAPlacelink. I try the code below:

` self.searchLinkResults[indexPath.row].detailsRequest().start { (request, responseData, error) in
guard error == nil else{
return
}

            if request is NMAPlaceRequest{
                if let place = responseData as? NMAPlace{
                    debugPrint(place.name)
                    debugPrint(place.location?.address?.city)
                    debugPrint(place.location?.address?.county)
                    debugPrint(place.location?.address?.state)
                    debugPrint(place.location?.address?.street)
                    debugPrint(place.location?.address?.district)
                }
            }
        }

`

the result is address.city and address.district is same value but is not valid, but if i use geocoding function is valid and have same value.

is that a bugs or issue, or should i to use geocoding function?

thanks!.

How to display textual navigation instructions on screen.

I am using HERE maps for navigation functionality in my project. Navigation is working fine, but now I want to display the textual directions on the screen.

I could find the list of ENums that return integer values for the turns taken

list of enums

but am clueless on how to use this data to represent the text for turns on the screen as they return just integer numbers, not a text.

For example:

If left turn is taken it gives me 9 instead of "Take a quite left".

This solution is available in android but I don't know to how to work it out in iOS.

Any help is appreciated, thank you.

Crazy memory consumption

@abdullahselek I'm using here maps in one of my apps. And I have to show map on at least 3-4 screens. So there will be 3-4 map instances loaded in memory all time.

What I have noticed is that loading one instance of here maps consumes up to 50MB of memory. As soon as I move to other screen hence two instances of map are loaded. Memory jumps to 100MB and so on and so forth. Finally after using sometime, the app crashes with memory issue.

"Got memory pressure notification (critical) 2017"

I'm adding purchased version of here maps through pods. Does it make any difference?

Unexpected Marker/Polyline behaviour

Hi all,
I'm currently experiencing some weird issues with markers and polylines. When placing a marker on the current user position and adding a dashed polyline to a specific destination, they can be moved by scrolling the mapview. This does not happen with the marker at the destination. Furthermore, they positions align when positioning in the middle of View. I already played around with the transformCenter property without any success.
I have attached a screenrecord that shows the unexpected behaviour. Any help in this regard would be highly appreciated, since this issue is bugging me for days.

HereMaps_Polybug (7)

NMAMapLoader is busy all the time

Hi,

as it looks for me, the [NMAMapLoader sharedMapLoader] doesn't work properly in my application. Its busy all the time.

NSArray<NMAMapPackage*>* toInstall = [[NSArray alloc] initWithObjects:_germany, nil]; BOOL res1 = [_mapLoader cancelCurrentOperation]; BOOL res2 = [_mapLoader installMapPackages:toInstall];

In my code I try to install a NMAMapPackage. I call 'cancelCurrentOperation' before 'installMapPackages'. res1 (cancelCurrentOperation) is true, but installMapPackages still won't be executed correctly and returns false.

There is no warning message in my output window.
Version of HEREMaps Sdk: 3.7.0

You got any information about why the mapLoader is busy and what to do that it finishes its tasks?

Thanks!

Turn-by-turn-navigation doesn't fire navigationManagerDidFindPosition delegate method

Hi,

when running the GuidanceApp / Turn-by-turn-navigation project, the navigationManagerDidFindPosition function is never called. Neither using the simulation mode nor using "real navigation" with a custom .gpx-file or apple's location examples.

When does the NavigationManager delegate normally calls this method?

Thanks for your help.

Please help me to use map-matching sdk

Dear support team of Here Map SDK.

I have read your guide about map-matching.

https://developer.here.com/documentation/ios-premium/dev_guide/topics/map-matching.html

I really want to use map-matching apis.
I am going to draw my movement onto the road while driving.
At this time, I don't specify the destination.
However, because of the GPS coordinate error, I couldn't draw the correct path on the map. It often crosses buildings and is drawn onto unexpected location.
I am so excited to visit the above topic.

However, I couldn't see any method how to use map-matching apis.
Please offer simple demo code for the map-matching.

iOS 13 - Crash when creating a NMAMapView

Hi!

I have an error using NMAMapView in iOS 13.

Captura de pantalla 2019-09-12 a las 13 24 41

This error happens only in iOS 13. The crash occurs in the simulator.
In iOS 12 or 11 it works correctly.
The version is "HEREMaps 3.12.2"

heremaps dsym file

where we can download dsym file to symbolicate crash logs ?
this file is included in many sdks like mapbox

Checker: UI API called on a background thread

I'm facing an issue of application state being accessed from background thread. Following is the trace of the issue:

Checker: UI API called on a background thread: -[UIView frame]
PID: 3022, TID: 95983, Thread name: (none), Queue name: com.nokia.maps.MapViewQueue.1, QoS: 0
Backtrace:
4 NMAKit 0x0000000107cc906a nma_deice_log_size_bytes + 649807
5 NMAKit 0x0000000107cc902a nma_deice_log_size_bytes + 649743
6 NMAKit 0x0000000107cc2c9e nma_deice_log_size_bytes + 624259
7 NMAKit 0x0000000107cc29d1 nma_deice_log_size_bytes + 623542
8 libdispatch.dylib 0x000000010e1913f7 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x000000010e19243c _dispatch_client_callout + 8
10 libdispatch.dylib 0x000000010e19a95b _dispatch_queue_serial_drain + 1162
11 libdispatch.dylib 0x000000010e19b2df _dispatch_queue_invoke + 336
12 libdispatch.dylib 0x000000010e19707d _dispatch_queue_override_invoke + 733
13 libdispatch.dylib 0x000000010e19e1f9 _dispatch_root_queue_drain + 772
14 libdispatch.dylib 0x000000010e19de97 _dispatch_worker_thread3 + 132
15 libsystem_pthread.dylib 0x000000010e6495a2 _pthread_wqthread + 1299
16 libsystem_pthread.dylib 0x000000010e64907d start_wqthread + 13

Main Thread Checker: UI API called on a background thread: -[UIView bounds]
PID: 285, TID: 8766, Thread name: (none), Queue name: com.nokia.maps.eventqueue, QoS: 0
Backtrace:
4 NMAKit 0x0000000102d050c4 nma_deice_log_size_bytes + 590492
5 NMAKit 0x0000000102cc4214 nma_deice_log_size_bytes + 324588
6 NMAKit 0x0000000102c9dcbc nma_deice_log_size_bytes + 167572
7 CoreFoundation 0x00000001846666cc + 232
8 NMAKit 0x0000000102c9db5c nma_deice_log_size_bytes + 167220
9 NMAKit 0x0000000102cc4048 nma_deice_log_size_bytes + 324128
10 NMAKit 0x0000000102cc3d88 nma_deice_log_size_bytes + 323424
11 libdispatch.dylib 0x000000011174d49c _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x000000011174d45c _dispatch_client_callout + 16
13 libdispatch.dylib 0x000000011175c110 _dispatch_queue_serial_drain + 692
14 libdispatch.dylib 0x00000001117509a4 _dispatch_queue_invoke + 332
15 libdispatch.dylib 0x000000011175d104 _dispatch_root_queue_drain_deferred_wlh + 424
16 libdispatch.dylib 0x0000000111764100 _dispatch_workloop_worker_thread + 652
17 libsystem_pthread.dylib 0x00000001843c2fe0 _pthread_wqthread + 932
18 libsystem_pthread.dylib 0x00000001843c2c30 start_wqthread + 4
2017-10-02 17:59:51.602673+0500 POIBase[285:8766] [reports] Main Thread Checker: UI API called on a background thread: -[UIView bounds]
PID: 285, TID: 8766, Thread name: (none), Queue name: com.nokia.maps.eventqueue, QoS: 0
Backtrace:
4 NMAKit 0x0000000102d050c4 nma_deice_log_size_bytes + 590492
5 NMAKit 0x0000000102cc4214 nma_deice_log_size_bytes + 324588
6 NMAKit 0x0000000102c9dcbc nma_deice_log_size_bytes + 167572
7 CoreFoundation 0x00000001846666cc + 232
8 NMAKit 0x0000000102c9db5c nma_deice_log_size_bytes + 167220
9 NMAKit 0x0000000102cc4048 nma_deice_log_size_bytes + 324128
10 NMAKit 0x0000000102cc3d88 nma_deice_log_size_bytes + 323424
11 libdispatch.dylib 0x000000011174d49c _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x000000011174d45c _dispatch_client_callout + 16
13 libdispatch.dylib 0x000000011175c110 _dispatch_queue_serial_drain + 692
14 libdispatch.dylib 0x00000001117509a4 _dispatch_queue_invoke + 332
15 libdispatch.dylib 0x000000011175d104 _dispatch_root_queue_drain_deferred_wlh + 424
16 libdispatch.dylib 0x0000000111764100 _dispatch_workloop_worker_thread + 652
17 libsystem_pthread.dylib 0x00000001843c2fe0 _pthread_wqthread + 932
18 libsystem_pthread.dylib 0x00000001843c2c30 start_wqthread + 4
2017-10-02 17:59:51.806505+0500 POIBase[285:8708] refreshPreferences: HangTracerEnabled: 0
2017-10-02 17:59:51.806548+0500 POIBase[285:8708] refreshPreferences: HangTracerDuration: 500
2017-10-02 17:59:51.806566+0500 POIBase[285:8708] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0

NMAKit crashes on ios (SIGSEGV)

Unfortunately we do not have heremaps ios sdk dsym file to resymbolicate and udnerstand the reason.

Exception Type:  SIGSEGV
Exception Codes: SEGV_ACCERR at 0x0
Crashed Thread:  26

Thread 0:
0   NMAKit                              0x00000001037688e8 0x102934000 + 14895336
1   NMAKit                              0x00000001030eeb84 0x102934000 + 8104836
2   NMAKit                              0x00000001030ee938 0x102934000 + 8104248
3   NMAKit                              0x0000000102fb001c 0x102934000 + 6799388
4   NMAKit                              0x00000001037fcfc0 0x102934000 + 15503296

Library not found for -lPods-GuidanceApp

Hi

I try to compile turn-by-turn-navigation-ios-swift.
I put appID, appCode and licenseKey into AppDelegate.swift, modify Bundle Identifier, and run "pod install" on turn-by-turn-navigation-ios-swift folder.

Then I run build function, 1 error occurred: "Library not found for -lPods-GuidanceApp"

スクリーンショット 2019-05-13 16 12 56

What can I do for this?
What procedure I missed?

Regards,

iOS Position & RoadElement

Hi,
My use case is out of the bounds. I want to use here maps for location data. However, I do not want to display map view.

NMAPositioningManager is what I need including realtime updates. However, currentRoadElement isn't there if the map wasn't downloaded first.

I am using NMAMapLoader to download MapPackage for given NMAGeoCoordinates.
The problem is even if I do download and install that while the currentRoadElement is nil under NMAPositioningManager.
With the next iteration (NMAPositioningManager update) nothing changes.
How can I retrieve currentRoadElement with speed limit data with out using NMAMapView ??
With out navigating user and creating routes?

I just want to pass current location and get road element for it. How do I achieve it?

Street-level Imagery swift 3 documentation

i need a documentation for the HERE map SDk using swift 3
All the examples written with objectiv-c iam trying to build a HERE Map Street-level Imagery
project using swift 3 >>>please contact me ASP

Cannot install pod

Today I've downloaded your sample projects, and tried running 'pod install', but I get this error:
[!] Unable to find a specification for HEREMaps

Can you guys please check your pod project?

Navigation turn by turn engine didn't start or stop not to work

According to document (https://developer.here.com/documentation/ios-premium/dev_guide/topics/map-guidance.html), when user is far from a road, turn by turn navigation may not start immediately.

But sometimes, user followed the route for a while (on the road), the navigation still didn't start.

Headtonearestroad1 (1)

And sometimes, the navigation engine start at the beginning, but suddenly it stopped working and never to wake again.

noupdate405 (1)

How to handle these kind of situations? Is there any callback can be used for reset navigation manager engine ?? Thanks.

Crash when creating a NMAMapView

We're trying to integrate the Here SDK but are experiencing SIGABRT crashes when instantiating a NMAMapView. I know that this works in your sample project so I assume there are some other configuration differences.

libsystem_kernel.dylib`__pthread_kill:
    0x1168752bc <+0>:  movl   $0x2000148, %eax          ; imm = 0x2000148 
    0x1168752c1 <+5>:  movq   %rcx, %r10
    0x1168752c4 <+8>:  syscall 
->  0x1168752c6 <+10>: jae    0x1168752d0               ; <+20>
    0x1168752c8 <+12>: movq   %rax, %rdi
    0x1168752cb <+15>: jmp    0x11686f457               ; cerror_nocancel
    0x1168752d0 <+20>: retq   

After researching a bit this seems to be a common issue (see this Twitter thread for example).
I'm currently in the process of capturing more logs, but please let me know what kind of other information you'd need in order to debug this.

Unable to calculate route

Hey!
I am integrating here map sdk in my iOS App.All good with that the only problem I am facing there is I am unable to calculate the route. I am following the user guid provided by you.All code is setup well and I installed here map using cocoapods.
Here I am presenting the piece of code where I am falling.

coreRouter.calculateRoute(withStops: stops as! [Any], routingMode: routingMode) {(routeResult, err)

in

print("I am unable reach Here...")

    } 

As I understand calculateRoute func is unable to revoke completion handler.
The configuration I am using here is like-Swift 3.2, Xcode-8.3.2

How to show downloaded region in NMAMapView?

Hi there!
I downloaded and run map-downloader-ios-swift project and it worked well. After finished download 1 region, how do we show that region in mapview without an internet connection? And is it possible to add routes in that downloaded region in offline mode?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.