Class: Openseadragon::OpenStreetMap
- Inherits:
-
Object
- Object
- Openseadragon::OpenStreetMap
- Defined in:
- app/models/openseadragon/open_street_map.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ OpenStreetMap
constructor
A new instance of OpenStreetMap.
- #to_tilesource ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ OpenStreetMap
Returns a new instance of OpenStreetMap.
3 4 |
# File 'app/models/openseadragon/open_street_map.rb', line 3 def initialize(attributes = {}) end |
Instance Method Details
#to_tilesource ⇒ Object
6 7 8 9 10 |
# File 'app/models/openseadragon/open_street_map.rb', line 6 def to_tilesource { type: 'openstreetmaps' } end |