Class VirtualEarthTileFactoryInfo


  • public class VirtualEarthTileFactoryInfo
    extends TileFactoryInfo
    http://www.viavirtualearth.com/vve/Articles/RollYourOwnTileServer.ashx
    Version:
    $Id: MicrosoftVirtualEarthProvider.java 115 2007-11-08 22:04:36Z fabriziogiudici $
    Author:
    Fabrizio Giudici
    • Method Detail

      • getModeName

        public String getModeName()
        Returns:
        the name of the selected mode
      • getModeLabel

        public String getModeLabel()
        Returns:
        the label of the selected mode
      • getTileUrl

        public String getTileUrl​(int x,
                                 int y,
                                 int zoom)
        Description copied from class: TileFactoryInfo
        Returns the tile url for the specified tile at the specified zoom level. By default it will generate a tile url using the base url and parameters specified in the constructor. Thus if
        baseURl = http://www.myserver.com/maps?version=0.1 
         xparam = x 
         yparam = y 
         zparam = z 
         tilepoint = [1,2]
         zoom level = 3
         
         
        then the resulting url would be:
        http://www.myserver.com/maps?version=0.1&x=1&y=2&z=3
        Note that the URL can be a file: url.
        Overrides:
        getTileUrl in class TileFactoryInfo
        zoom - the zoom level
        Returns:
        a valid url to load the tile