skmaps

Update Annotation API not working

一个人想着一个人 提交于 2019-12-06 05:05:17
I am using update Annotation API in skobbler maps on Android for offline purpose. I change the annotation view and update the annotation via updateAnnotation API. SKAnnotation currentAnnotation = mAnnotations.get(mSelectedIndex); SKAnnotationView currentView = currentAnnotation.getAnnotationView(); currentView.setView(createDrawableFromView(TestActivity.this, true, "2500")); currentAnnotation.setAnnotationView(currentView); mSKMapView.updateAnnotation(currentAnnotation); However, updateAnnotation is not working. Please let me know on this. And, how to add and handle click event for custom

Skobbler SDK Android - Corrupt/inconsistent SKNavigationState objects

戏子无情 提交于 2019-12-06 04:46:58
We did experience some inconsistency from the SKNavigationState updates with Android. Sometimes we get inconsistent SKNavigationState object after starting navigation, therefore navigation stopped working. A strange thing is, that sometimes it does work. First we suspected certain builds to be corrupt, but we had some builds where it did work work and did not work when deployed several times even to the same device. We tried SDK version 2.5.0., 2.5.1 and 3.0.2 in combination with two versions of our code. We had working and not working states with equal version combinations so we don't think

Offline maps SDK for Android and iOS [closed]

无人久伴 提交于 2019-12-04 16:19:44
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I would like to use offline map functionality for my application. Could somebody recommend to any useful map SDK? I found these: Skobbler , Bing Maps , and TomTom . But in not sure which one is better. I need a custom POI, routes highligting, and bubless with some information

Bundle size is big

时光总嘲笑我的痴心妄想 提交于 2019-12-02 01:52:36
问题 Is there a way to reduce the size of the framework ScoutMaps-iOS-SDK , because right now the size of the bundle is so huge and the user probably won't download an app with >100 Mb. 回答1: For people who are interested: To minimizing the size of the project you can do the following: Benchmark: demo project unpacked – 173.883.119 bytes (195,7 MB on disk) Things that can be removed for iOS: 1. Remove all audio advices but en_us from SKAdvisorResources.bundle (Note: you can host & download the

How to start Tracking POIs with Skobbler

 ̄綄美尐妖づ 提交于 2019-12-02 00:22:37
问题 This is my code for creating trackable POIs and starting a POI tracking. This code is placed just before I would calculate a route and start navigation -(void)createTrackablePOIs { // Go through the route array and create POIs out of all added exits and locations if ([Constants shared].routeArray.count>2){ _trackablePOIs = [[NSMutableArray alloc] init]; for (int i=1; i<[Constants shared].routeArray.count-1; i++) { if ([[Constants shared].routeArray[i] isKindOfClass:[Exit class]]){ Exit *e =

Restrict the dragging of SKMapView to a certain city

天大地大妈咪最大 提交于 2019-12-01 21:22:09
I am trying to restrict dragging of SKMapView to a certain city. Here is what I have tried, I had gone through Doc References and open source code. Seems like SKBoundingBox does that. But this piece of code doesn't work. It still allows user to pan everywhere. SKBoundingBox *boundingBox = [SKBoundingBox boundingBoxWithTopLeftCoordinate:topLeftCoordinate bottomRightCoordinate:bottomRightCoordinate]; While there is no integrated support for this, you can do a workaround. The file from here should replace the one from the Public SDK demo app for viewing the workaround (MapDisplayViewController.m)

How to display a custom route on SKmap

一曲冷凌霜 提交于 2019-12-01 18:53:31
So if we have a local journey planner, would it be possible to display the route on the Skobbler map? Is there any method on SKMapSurfaceView on Android SDK to pass a route to display it? Yes - drawTrackElement You can see an example in the demo project, the Tracks menu entry. If you have the route points/list of segments, then you can draw them on the map using a SkPolyline - see the getting started chapter: http://developer.skobbler.com/getting-started/android#sec009 来源: https://stackoverflow.com/questions/25190954/how-to-display-a-custom-route-on-skmap

How to change the color of the route in Skobbler

守給你的承諾、 提交于 2019-12-01 10:48:39
Hello i want to change the color of the routes in skobbler.For example im doing a waze like app in android. i want to change the color of the route to red when there is a heavy traffic in the route. maybe someone can help me on this. Thanks in advance. SylviA Currently the appearance of routes (the main route and the alternates) can be styled by editing the style JSON files that can be found in the SKMaps.zip archive that stores the resources. In the demo these JSON files are daystyle.json, grayscalestyle.json, nightstyle.json and outdoorstyle.json. Here you can find a modified daystyle.json

What process should be used to compress SKMaps.zip file for use in Skobbler powered app?

夙愿已清 提交于 2019-11-29 14:36:46
I'm currently using the Skobbler SDK in an Android app to handle mapping and turn-by-turn direction tasks. One issue that came up was the desire to change to frequency at which audio advice is issued from the SDK so that we don't have too many instructions being fired off one after the other. I found this answer to another question which explains the need to modify an advice_places.adv file which I was able to find within the SDK provided SKMaps.zip file. The issue I'm experiencing seems to be related to how I re-archive the zip file once I've finished making changes to the advice_places.adv