Package 

Class Configuration


  • 
    public class Configuration
    
                        

    Singleton class to get/set a configuration provider for osmdroid Issue 481Created on 11/29/2016.

    • Method Summary

      Modifier and Type Method Description
      static synchronized IConfigurationProvider getInstance() gets the current reference to the config provider.
      static void setConfigurationProvider(IConfigurationProvider instance) Note, this should be called before any instances of MapView are created (either programmaticallyor via android's inflater
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

         static synchronized IConfigurationProvider getInstance()

        gets the current reference to the config provider.if one hasn't been set yet, the default provider and default configuration will be used