Portability | GHC |
---|---|
Stability | experimental |
Maintainer | m@j4.pe |
Safe Haskell | Safe-Inferred |
Exemple :
import HSlippyMap main = do putStrLn $ show $ tileFromLatLong lat long z putStrLn $ show $ tileFromGPS x y z where lat = 48.8152 long = 2.2712 x = 66362 y = 45115 z = 19
- - http:tile.openstreetmap.org19265451/180461.png -- http:tile.openstreetmap.org1966362/45115.png
- data Tile
- tileFromLatLong :: Lat -> Long -> ZLevel -> Tile
- tileFromGPS :: GpsX -> GpsY -> ZLevel -> Tile
HSlippyMap
tileFromLatLong :: Lat -> Long -> ZLevel -> TileSource
Create Tile from Lat Long
tileFromGPS :: GpsX -> GpsY -> ZLevel -> TileSource
Create Tile from GPS X Y