skmaps

Reciever SKViaPoint for class message is a forward declaration

↘锁芯ラ 提交于 2019-12-24 03:43:11
问题 I was trying to make an instance of SKViaPoint with SKViaPoint *point = [SKViaPoint viaPoint:1 withCoordinate:coordinate]; But I am getting a following error: So "No known class method for selector". I checked and I do have the latest version of Skobbler SDK, but I also checked and there is no actual ViaPoint.h. Not in mine neither in the Demo project. So Im wondering is there anything else I should import in order to be able to make SKViaPoint instance? 回答1: Ok, what solved it was importing

Skobbler add custom POIs to heatmap

独自空忆成欢 提交于 2019-12-23 21:00:51
问题 I'm looking for a way to add POIs to SKMapView heat map which are generated from my app. In the example provided with SDK there's only a way to show categories from internal data source. I looked at category from SKMaps SDK and there're only two methods: @interface SKMapView (HeatMaps) - (void)showHeatMapWithPOIType:(NSArray *)poiTypes; - (void)clearHeatMap; @end Also I have another question: how to set minimal and maximal zoom level for heat maps? As an alternative I'm looking for a way to

Skobbler Maps on Android showing black screen

房东的猫 提交于 2019-12-23 12:48:00
问题 I'm using Skobbler SDK 2.3.0, targeting Lollipop, testing on a Nexus 5 and Galaxy S4, building on Android Studio 1.0.2. I've a single MainActivity with a navigation drawer and fragments. I initialize Skobbler in the MainActivity and load the fragment that displays the maps. However, I only get a black screen with the watermark "Powered by Scout OSM" at the bottom right. Single and double taps are registered, but if I pinch to zoom the app crashes. I don't see any errors in logcat before the

Error displaying Map after Upgrading to Skobbler 2.2.0

爷,独闯天下 提交于 2019-12-23 12:46:00
问题 I am developing an android app with Skobbler. After updating to the latest version of the Skobbler SDK (2.2.0) we got this problem Sometimes the map just works. The Background is displayed and all the markers. But next time starting the App (without even change something) the background stays gray and it says: E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /null/res/xhdpi/icon_map_popup_navigate.png: open failed: ENOENT (No such file or directory) E/BitmapFactory﹕

How to trim down custom Skobbler offline map app size

做~自己de王妃 提交于 2019-12-22 10:06:09
问题 I'm integrating Skobbler maps in my iOS app. Right now, the app is 160Mb in size, which is way too much. But I notice that there are bunch of maps integrated already. I would like to erase all maps and let the user download the ones he would need. Right now, when I include SKMaps.framework, there is SKMaps document in it, that's 95Mb in size. Is there any way to make this document smaller or downloadable after initial app is downloaded. I have to make my app as small as possible. Also, as I

Restrict the dragging of SKMapView to a certain city

 ̄綄美尐妖づ 提交于 2019-12-20 02:33:16
问题 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]; 回答1: While there is no integrated support for this, you can do a workaround. The file from here

How to display a custom route on SKmap

醉酒当歌 提交于 2019-12-20 00:05:02
问题 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? 回答1: 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:/

How to display a custom route on SKmap

自作多情 提交于 2019-12-20 00:02:56
问题 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? 回答1: 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:/

How to change the color of the route in Skobbler

核能气质少年 提交于 2019-12-19 10:27:07
问题 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. 回答1: 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,

SKHeader:Need to edit the header triangle when navigation starts

孤街浪徒 提交于 2019-12-14 03:32:44
问题 enter image description here I have an issue regarding "SKHeading". When i use (SKMapSettings.SKHeadingMode.ROTATING_MAP) and starts navigation i am getting a triangle on my navigated route which define a header i want to edit that header to smaller one but i am not able to find it in code can you please suggest me how to do that one. So that i can make that header triangle small and play around with it.Below is my code: SKNavigationSettings navigationSettings = new SKNavigationSettings();