Package 

Class TileSourceFactory


  • 
    public class TileSourceFactory
    
                        

    looking for mapquest? it's moved because they stopped supporting anonymous access to tiles

    • Method Detail

      • getTileSource

         static ITileSource getTileSource(String aName)

        Get the tile source with the specified name. The tile source must be one of the registered sourcesas defined in the static list mTileSources of this class.

        Parameters:
        aName - the tile source name
      • getTileSources

         static List<ITileSource> getTileSources()

        returns all predefined tiles sources that are generally free to use. be sure to check the usageagreements yourself.

      • removeTileSources

         static int removeTileSources(String aRegex)

        removes any tile sources whose name matches the regular expression

        Parameters:
        aRegex - regular expression