Class: MapPrint::Providers::Bing
- Defined in:
- lib/map_print/providers/bing.rb
Constant Summary collapse
- BASE_URL =
'http://ecn.t0.tiles.virtualearth.net/tiles/r${quadkey}.jpeg?g=1515&shading=hill'
Instance Attribute Summary
Attributes inherited from Base
#north_east, #provider, #south_west, #zoom
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from MapPrint::Providers::Base
Instance Method Details
#build_provider(base_url = nil) ⇒ Object
7 8 9 |
# File 'lib/map_print/providers/bing.rb', line 7 def build_provider(base_url=nil) TileFactory.new(base_url || BASE_URL, 'bing', @south_west, @north_east, @zoom) end |