Results 1 to 4 of 4

Thread: Visual advice file list?

  1. #1
    Neuer skobbler
    Join Date
    17.03.2015
    Posts
    7

    Visual advice file list?

    Once I run my navigation app, I do get appropriate callbacks to my navigation listener. And I can log all relevant information.

    Code:
    	@Override
    	public void onVisualAdviceChanged(boolean firstVisualAdviceChanged, boolean secondVisualAdviceChanged, SKNavigationState navigationState){
    		String msg = String.format(Locale.ENGLISH, "firstVisualAdviceChanged=%b, secondVisualAdviceChanged=%b, navigationState=%s", firstVisualAdviceChanged, secondVisualAdviceChanged, navigationState.toString());
    		Log.i(this.getClass().getName(), "onVisualAdviceChanged "+msg);				
    	}
    The log shows that there should be a visual advice files (png) inside the SKMaps. However I can't find those png files either in Android SDK or in iOS SDK. Furthermore, I would like to have my own set of visual advices. Is there any list what kind of png files these are?

    currentAdviceVisualAdviceFile=/data/data/fi.test.map2/files/SKMaps//Advisor/Visual/1047151/3.png

  2. #2
    Neuer skobbler
    Join Date
    17.03.2015
    Posts
    7
    Ok, got it. There are potentially hundreds/thousands of different icons and they are programmatically created and cached into file system. So there can't be a list of those.

  3. #3
    Etablierter skobbler
    Join Date
    11.04.2015
    Posts
    41
    Hi there!

    Is there a possibility to change those images somehow? I mean change the color of the arrow etc.
    I see that files are generated and stored on a device .. so I guess it's up to some json, style or something like that file to configure how they must be generated .. !?
    Can you specify where should we edit this info, because I can not find one..

    thanks

  4. #4
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    The images are created via OpenGL on demand, based on the real road geometry (the angle between the roads in the image will match the angle between the real roads). So there isn't a collection of images that you could use but you'll have to get the list of images each time a route is created

    Check this thread: http://forum.skobbler.com/showthread...2461#post22461
    and this post: http://stackoverflow.com/questions/2...-advice-images
    Last edited by Adela_Silvia; 20.01.2016 at 12:08.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •