skmaps

Skobbler - ResourceNotFoundException for application label

自古美人都是妖i 提交于 2019-12-11 03:09:02
问题 In a basic Skobbler application, when calling InitializeSKMaps, a ResourceNotFoundException is thrown with a reference to "string resource ID #0x0". Why would this be? 回答1: This can occur because the Skobbler SDK (2.3) in InitializeSKMaps is expecting your manifest to have a label as shown below (along with corresponding strings.xml entry), and not a "fixed" string. <application android:label="@string/app_name"> It is doing something like: int i = context.getApplicationInfo().labelRes; String

How does Skobbler prioritize which POIs to show?

可紊 提交于 2019-12-11 03:05:57
问题 I am trying to customize the Skobbler map to make a public transport view. I have found some of the relevant POI IDs, and made them available on the various zoom levels (and changed the relevant configuration-settings, so that the correct icon/text is set for those zoom levels). But as I zoom-out, the POIs gradually disappear, and I am not able to make it nearly to the really zoomed-out levels before all of them are gone. I tried to compare it to POIs who are indeed staying visible - f.ex.

How to modify a Skobbler Annotation without re adding it

依然范特西╮ 提交于 2019-12-10 17:23:13
问题 I have to modify the image of a SKAnnotation. Annotation builder code: private SKAnnotation getAnnotationFromView (int id,int minZoomLvl, View view) { SKAnnotation annotation = new SKAnnotation(); SKAnnotationView annotationView = new SKAnnotationView(); annotationView.setView(view); annotation.setUniqueID(id); annotation.setOffset(new SKScreenPoint(annotationView.getWidth()/2, annotationView.getHeight()/2)); annotation.setAnnotationView(annotationView); annotation.setMininumZoomLevel

Limit a map to certain bounds?

最后都变了- 提交于 2019-12-10 16:12:05
问题 Is there a way to set the map bounds and actually limit the user to be able to pan only within those boundaries? The closest I got to what I need is the mapView.fitBounds method but it does not seem to be limiting the panning at all. Am I doing something wrong or is this method not doing what I need? I'm using SKMaps iOS SDK version 2.5 Thanks! 回答1: Here is some code I wrote (based on this answer) to bind the user within a bounding box, defined by a top left coordinate, and a bottom right

SKMaps shows black / bluish background

陌路散爱 提交于 2019-12-10 16:09:44
问题 I am implementing turn-by-turn navigation in android using SKMaps. For this, I displayed a separate activity which uses SKMaps. When I present the activity for very first time, the map is displayed and the navigation is working. If I go back from this activity and start this navigation activity again, then it will display a screen with black/bluish background.But, the advice text panel, ETA panel, source and destination markers are displayed in the screen. I referred this link Skobbler Maps

Skobbler SDK Android - Corrupt/inconsistent SKNavigationState objects

故事扮演 提交于 2019-12-10 11:04:57
问题 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

SKMaps Bundle size is big

对着背影说爱祢 提交于 2019-12-10 10:48:40
问题 I read on how to reduce SKMaps.zip file size by deleting some of the files. Regarding to the same I need more information. I deleted grayscalestyle, outdoorstyle and nightstyle folders and all the contents of sound_files (Maps/Advisor/en) directory. There are two folders .Common and .Routing, .Common is of 28.5MB!! Are all the contents of this directory required? I tried deleting these two folders completely which resulted in map crash. If can be deleted which all files in these two folders

How can i create a route with waypoints in skobbler (android)

风流意气都作罢 提交于 2019-12-08 06:02:23
问题 I've a list of waypoints (latitude, longitude) and i want to create a route in skobbler, but i don't know if there is a method to do this. 回答1: The public SDK (free tier) does not support route via waypoints, but it might be available in the next release. Edit July, 2015 As for 2015 - the SDK fully supports via point routing & navigation 回答2: What you need is a feature called poly lines. You can find instructions to add polylines in skobbler here: http://developer.skobbler.com/getting-started

Skobbler. onAnnotationSelected not called, when I set my own annotations

六月ゝ 毕业季﹏ 提交于 2019-12-07 22:34:48
问题 I use Skobbler Maps. When I set my own icons as annotations, onAnnotationSelected isn't called. And when I set default icons ( annotation.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_PURPLE); ), It worked properly. What I'm doing wrong? cursor = dataBaseHelper.getWritableDatabase().rawQuery(stringBuilder.toString(), null); int count = cursor.getCount(); for (int i = 0; i < count; i++) { if (cursor.moveToPosition(i)) { SKAnnotation annotation = new SKAnnotation(); annotation.setUniqueID

How can i create a route with waypoints in skobbler (android)

帅比萌擦擦* 提交于 2019-12-07 06:07:24
I've a list of waypoints (latitude, longitude) and i want to create a route in skobbler, but i don't know if there is a method to do this. SylviA The public SDK (free tier) does not support route via waypoints, but it might be available in the next release. Edit July, 2015 As for 2015 - the SDK fully supports via point routing & navigation What you need is a feature called poly lines. You can find instructions to add polylines in skobbler here: http://developer.skobbler.com/getting-started/android Look in the section titled: Adding annotations & overlays. They even have some code snips in