Changeset 350

Show
Ignore:
Timestamp:
10/19/07 18:16:06 (1 year ago)
Author:
migurski
Message:

Switch to the new hilly, pretty MS Live maps

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0b/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftAerialMapProvider.as

    r176 r350  
    2020        private function getTileUrl( coord : Coordinate ) : String 
    2121        {                
    22         return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=45"; 
     22        return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323        } 
    2424} 
  • branches/1.0b/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftHybridMapProvider.as

    r176 r350  
    2020        private function getTileUrl( coord : Coordinate ) : String 
    2121        {                
    22         return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=45"; 
     22        return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323        } 
    2424} 
  • branches/1.0b/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftRoadMapProvider.as

    r176 r350  
    2121        private function getTileUrl( coord : Coordinate ) : String 
    2222        {                
    23         return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=45"; 
     23        return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=90&shading=hill"; 
    2424        } 
    2525} 
  • branches/1.0b/play/006/compose-area.py

    r145 r350  
    6060            try: 
    6161                if options.provider == 'microsoft-road': 
    62                     url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     62                    url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6363                elif options.provider == 'microsoft-hybrid': 
    64                     url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     64                    url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6565                elif options.provider == 'microsoft-aerial': 
    66                     url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     66                    url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6767 
    6868                print row, col, zoom, '->', url, '->', destX, destY 
  • branches/1.0b/py/ModestMaps/Providers.py

    r152 r350  
    2121        """ 
    2222        if self.id == 'MICROSOFT_ROAD': 
    23             return 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0,3), Tiles.toMicrosoft(column, row, zoom)) 
     23            return 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0,3), Tiles.toMicrosoft(column, row, zoom)) 
    2424 
    2525        if self.id == 'MICROSOFT_HYBRID': 
    26             return 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0,3), Tiles.toMicrosoft(column, row, zoom)) 
     26            return 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0,3), Tiles.toMicrosoft(column, row, zoom)) 
    2727 
    2828        if self.id == 'MICROSOFT_AERIAL': 
    29             return 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0,3), Tiles.toMicrosoft(column, row, zoom)) 
     29            return 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0,3), Tiles.toMicrosoft(column, row, zoom)) 
    3030             
    3131        else: 
  • branches/flexible-zoom/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftAerialMapProvider.as

    r215 r350  
    2020        private function getTileUrl( coord : Coordinate ) : String 
    2121        {                
    22         return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=45"; 
     22        return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323        } 
    2424} 
  • branches/flexible-zoom/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftHybridMapProvider.as

    r215 r350  
    2020        private function getTileUrl( coord : Coordinate ) : String 
    2121        {                
    22         return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=45"; 
     22        return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323        } 
    2424} 
  • branches/flexible-zoom/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftRoadMapProvider.as

    r215 r350  
    2121        private function getTileUrl( coord : Coordinate ) : String 
    2222        {                
    23         return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=45"; 
     23        return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=90&shading=hill"; 
    2424        } 
    2525} 
  • branches/flexible-zoom/as3/lib/com/modestmaps/mapproviders/microsoft/MicrosoftAerialMapProvider.as

    r286 r350  
    2121                override public function getTileUrl(coord:Coordinate):String 
    2222                {                
    23                 return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=45"; 
     23                return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2424                } 
    2525        } 
  • branches/flexible-zoom/as3/lib/com/modestmaps/mapproviders/microsoft/MicrosoftHybridMapProvider.as

    r286 r350  
    2020                override public function getTileUrl(coord:Coordinate):String 
    2121                {                
    22                 return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=45"; 
     22                return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323                } 
    2424        } 
  • branches/flexible-zoom/as3/lib/com/modestmaps/mapproviders/microsoft/MicrosoftRoadMapProvider.as

    r286 r350  
    2121                override public function getTileUrl(coord:Coordinate):String 
    2222                {                
    23                 return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=45"; 
     23                return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=90&shading=hill"; 
    2424                } 
    2525        } 
  • branches/flexible-zoom/play/006/compose-area.py

    r145 r350  
    6060            try: 
    6161                if options.provider == 'microsoft-road': 
    62                     url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     62                    url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6363                elif options.provider == 'microsoft-hybrid': 
    64                     url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     64                    url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6565                elif options.provider == 'microsoft-aerial': 
    66                     url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     66                    url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6767 
    6868                print row, col, zoom, '->', url, '->', destX, destY 
  • branches/flexible-zoom/py/ModestMaps/Microsoft.py

    r206 r350  
    22>>> p = RoadProvider() 
    33>>> p.getTileUrl(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    4 'http://r....ortho.tiles.virtualearth.net/tiles/r0230102122203031.png?g=45
     4'http://r....ortho.tiles.virtualearth.net/tiles/r0230102122203031.png?g=90&shading=hill
    55>>> p.getTileUrl(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    6 'http://r....ortho.tiles.virtualearth.net/tiles/r0230102033330212.png?g=45
     6'http://r....ortho.tiles.virtualearth.net/tiles/r0230102033330212.png?g=90&shading=hill
    77 
    88>>> p = AerialProvider() 
    99>>> p.getTileUrl(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    10 'http://a....ortho.tiles.virtualearth.net/tiles/a0230102122203031.jpeg?g=45
     10'http://a....ortho.tiles.virtualearth.net/tiles/a0230102122203031.jpeg?g=90&shading=hill
    1111>>> p.getTileUrl(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    12 'http://a....ortho.tiles.virtualearth.net/tiles/a0230102033330212.jpeg?g=45
     12'http://a....ortho.tiles.virtualearth.net/tiles/a0230102033330212.jpeg?g=90&shading=hill
    1313 
    1414>>> p = HybridProvider() 
    1515>>> p.getTileUrl(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    16 'http://h....ortho.tiles.virtualearth.net/tiles/h0230102122203031.jpeg?g=45
     16'http://h....ortho.tiles.virtualearth.net/tiles/h0230102122203031.jpeg?g=90&shading=hill
    1717>>> p.getTileUrl(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    18 'http://h....ortho.tiles.virtualearth.net/tiles/h0230102033330212.jpeg?g=45
     18'http://h....ortho.tiles.virtualearth.net/tiles/h0230102033330212.jpeg?g=90&shading=hill
    1919""" 
    2020 
     
    4545class RoadProvider(AbstractProvider): 
    4646    def getTileUrl(self, coordinate): 
    47         return 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0, 3), self.getZoomString(coordinate)) 
     47        return 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(coordinate)) 
    4848 
    4949class AerialProvider(AbstractProvider): 
    5050    def getTileUrl(self, coordinate): 
    51         return 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0, 3), self.getZoomString(coordinate)) 
     51        return 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(coordinate)) 
    5252 
    5353class HybridProvider(AbstractProvider): 
    5454    def getTileUrl(self, coordinate): 
    55         return 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0, 3), self.getZoomString(coordinate)) 
     55        return 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(coordinate)) 
    5656 
    5757if __name__ == '__main__': 
  • branches/WPF/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftAerialMapProvider.as

    r215 r350  
    2020        private function getTileUrl( coord : Coordinate ) : String 
    2121        {                
    22         return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=45"; 
     22        return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323        } 
    2424} 
  • branches/WPF/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftHybridMapProvider.as

    r215 r350  
    2020        private function getTileUrl( coord : Coordinate ) : String 
    2121        {                
    22         return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=45"; 
     22        return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2323        } 
    2424} 
  • branches/WPF/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftRoadMapProvider.as

    r215 r350  
    2121        private function getTileUrl( coord : Coordinate ) : String 
    2222        {                
    23         return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=45"; 
     23        return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=90&shading=hill"; 
    2424        } 
    2525} 
  • branches/WPF/play/006/compose-area.py

    r145 r350  
    6060            try: 
    6161                if options.provider == 'microsoft-road': 
    62                     url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     62                    url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6363                elif options.provider == 'microsoft-hybrid': 
    64                     url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     64                    url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6565                elif options.provider == 'microsoft-aerial': 
    66                     url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     66                    url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6767 
    6868                print row, col, zoom, '->', url, '->', destX, destY 
  • branches/WPF/py/ModestMaps/Microsoft.py

    r206 r350  
    22>>> p = RoadProvider() 
    33>>> p.getTileUrl(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    4 'http://r....ortho.tiles.virtualearth.net/tiles/r0230102122203031.png?g=45
     4'http://r....ortho.tiles.virtualearth.net/tiles/r0230102122203031.png?g=90&shading=hill
    55>>> p.getTileUrl(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    6 'http://r....ortho.tiles.virtualearth.net/tiles/r0230102033330212.png?g=45
     6'http://r....ortho.tiles.virtualearth.net/tiles/r0230102033330212.png?g=90&shading=hill
    77 
    88>>> p = AerialProvider() 
    99>>> p.getTileUrl(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    10 'http://a....ortho.tiles.virtualearth.net/tiles/a0230102122203031.jpeg?g=45
     10'http://a....ortho.tiles.virtualearth.net/tiles/a0230102122203031.jpeg?g=90&shading=hill
    1111>>> p.getTileUrl(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    12 'http://a....ortho.tiles.virtualearth.net/tiles/a0230102033330212.jpeg?g=45
     12'http://a....ortho.tiles.virtualearth.net/tiles/a0230102033330212.jpeg?g=90&shading=hill
    1313 
    1414>>> p = HybridProvider() 
    1515>>> p.getTileUrl(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    16 'http://h....ortho.tiles.virtualearth.net/tiles/h0230102122203031.jpeg?g=45
     16'http://h....ortho.tiles.virtualearth.net/tiles/h0230102122203031.jpeg?g=90&shading=hill
    1717>>> p.getTileUrl(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    18 'http://h....ortho.tiles.virtualearth.net/tiles/h0230102033330212.jpeg?g=45
     18'http://h....ortho.tiles.virtualearth.net/tiles/h0230102033330212.jpeg?g=90&shading=hill
    1919""" 
    2020 
     
    4545class RoadProvider(AbstractProvider): 
    4646    def getTileUrl(self, coordinate): 
    47         return 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0, 3), self.getZoomString(coordinate)) 
     47        return 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(coordinate)) 
    4848 
    4949class AerialProvider(AbstractProvider): 
    5050    def getTileUrl(self, coordinate): 
    51         return 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0, 3), self.getZoomString(coordinate)) 
     51        return 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(coordinate)) 
    5252 
    5353class HybridProvider(AbstractProvider): 
    5454    def getTileUrl(self, coordinate): 
    55         return 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0, 3), self.getZoomString(coordinate)) 
     55        return 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(coordinate)) 
    5656 
    5757if __name__ == '__main__': 
  • trunk/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftAerialMapProvider.as

    r292 r350  
    2121        private function getTileUrl( coord : Coordinate ) : String 
    2222        {                
    23         return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=45"; 
     23        return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2424        } 
    2525} 
  • trunk/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftHybridMapProvider.as

    r292 r350  
    2121        private function getTileUrl( coord : Coordinate ) : String 
    2222        {                
    23         return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=45"; 
     23        return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2424        } 
    2525} 
  • trunk/as2/lib/com/modestmaps/mapproviders/microsoft/MicrosoftRoadMapProvider.as

    r292 r350  
    2222        private function getTileUrl( coord : Coordinate ) : String 
    2323        {                
    24         return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=45"; 
     24        return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=90&shading=hill"; 
    2525        } 
    2626} 
  • trunk/as3/lib/com/modestmaps/mapproviders/microsoft/MicrosoftAerialMapProvider.as

    r292 r350  
    2222                override public function getTileUrl(coord:Coordinate):String 
    2323                {                
    24                 return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=45"; 
     24                return "http://a" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/a" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2525                } 
    2626        } 
  • trunk/as3/lib/com/modestmaps/mapproviders/microsoft/MicrosoftHybridMapProvider.as

    r292 r350  
    2121                override public function getTileUrl(coord:Coordinate):String 
    2222                {                
    23                 return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=45"; 
     23                return "http://h" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/h" + getZoomString( coord ) + ".jpeg?g=90&shading=hill"; 
    2424                } 
    2525        } 
  • trunk/as3/lib/com/modestmaps/mapproviders/microsoft/MicrosoftRoadMapProvider.as

    r292 r350  
    2222                override public function getTileUrl(coord:Coordinate):String 
    2323                {                
    24                 return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=45"; 
     24                return "http://r" + Math.floor(Math.random() * 4) + ".ortho.tiles.virtualearth.net/tiles/r" + getZoomString( coord ) + ".png?g=90&shading=hill"; 
    2525                } 
    2626        } 
  • trunk/play/006/compose-area.py

    r145 r350  
    6060            try: 
    6161                if options.provider == 'microsoft-road': 
    62                     url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     62                    url = 'http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6363                elif options.provider == 'microsoft-hybrid': 
    64                     url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     64                    url = 'http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6565                elif options.provider == 'microsoft-aerial': 
    66                     url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
     66                    url = 'http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0,3), tile_params.toMicrosoft(col, row, zoom)) 
    6767 
    6868                print row, col, zoom, '->', url, '->', destX, destY 
  • trunk/py/ModestMaps/Microsoft.py

    r323 r350  
    22>>> p = RoadProvider() 
    33>>> p.getTileUrls(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    4 ('http://r....ortho.tiles.virtualearth.net/tiles/r0230102122203031.png?g=45',) 
     4('http://r....ortho.tiles.virtualearth.net/tiles/r0230102122203031.png?g=90&shading=hill',) 
    55>>> p.getTileUrls(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    6 ('http://r....ortho.tiles.virtualearth.net/tiles/r0230102033330212.png?g=45',) 
     6('http://r....ortho.tiles.virtualearth.net/tiles/r0230102033330212.png?g=90&shading=hill',) 
    77 
    88>>> p = AerialProvider() 
    99>>> p.getTileUrls(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    10 ('http://a....ortho.tiles.virtualearth.net/tiles/a0230102122203031.jpeg?g=45',) 
     10('http://a....ortho.tiles.virtualearth.net/tiles/a0230102122203031.jpeg?g=90&shading=hill',) 
    1111>>> p.getTileUrls(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    12 ('http://a....ortho.tiles.virtualearth.net/tiles/a0230102033330212.jpeg?g=45',) 
     12('http://a....ortho.tiles.virtualearth.net/tiles/a0230102033330212.jpeg?g=90&shading=hill',) 
    1313 
    1414>>> p = HybridProvider() 
    1515>>> p.getTileUrls(Coordinate(25322, 10507, 16)) #doctest: +ELLIPSIS 
    16 ('http://h....ortho.tiles.virtualearth.net/tiles/h0230102122203031.jpeg?g=45',) 
     16('http://h....ortho.tiles.virtualearth.net/tiles/h0230102122203031.jpeg?g=90&shading=hill',) 
    1717>>> p.getTileUrls(Coordinate(25333, 10482, 16)) #doctest: +ELLIPSIS 
    18 ('http://h....ortho.tiles.virtualearth.net/tiles/h0230102033330212.jpeg?g=45',) 
     18('http://h....ortho.tiles.virtualearth.net/tiles/h0230102033330212.jpeg?g=90&shading=hill',) 
    1919""" 
    2020 
     
    4343class RoadProvider(AbstractProvider): 
    4444    def getTileUrls(self, coordinate): 
    45         return ('http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=45' % (random.randint(0, 3), self.getZoomString(self.sourceCoordinate(coordinate))),) 
     45        return ('http://r%d.ortho.tiles.virtualearth.net/tiles/r%s.png?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(self.sourceCoordinate(coordinate))),) 
    4646 
    4747class AerialProvider(AbstractProvider): 
    4848    def getTileUrls(self, coordinate): 
    49         return ('http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=45' % (random.randint(0, 3), self.getZoomString(self.sourceCoordinate(coordinate))),) 
     49        return ('http://a%d.ortho.tiles.virtualearth.net/tiles/a%s.jpeg?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(self.sourceCoordinate(coordinate))),) 
    5050 
    5151class HybridProvider(AbstractProvider): 
    5252    def getTileUrls(self, coordinate): 
    53         return ('http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=45' % (random.randint(0, 3), self.getZoomString(self.sourceCoordinate(coordinate))),) 
     53        return ('http://h%d.ortho.tiles.virtualearth.net/tiles/h%s.jpeg?g=90&shading=hill' % (random.randint(0, 3), self.getZoomString(self.sourceCoordinate(coordinate))),) 
    5454 
    5555if __name__ == '__main__':