module Honua
a coordinate is used to indentify a tile based on the zoom level and the tile grid's x/y coordinates
a tile is an image file representing a coordinate at a certain zoom level
-
request a tile from the tile server for a coordinate
-
use scaled version if not available at on of the next zoom levels
-
if row or column is out of bounds => start from the left again
-
if max_fetch_attempts are reached => use empty tile
Constants
- Location
locations are actual places in the world they are in latitude and longitude (EPSG:4326)
- Point
Public Class Methods
configuration()
click to toggle source
# File lib/honua.rb, line 11 def configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/honua.rb, line 15 def configure yield configuration end