Module

Leaflet.LatLng

Package
purescript-leaflet-tdammers
Repository
tdammers/purescript-leaflet-tdammers

#Latitude Source

type Latitude = Number

Geographic latitude

#Longitude Source

type Longitude = Number

Geographic longitude

#LatLng Source

data LatLng :: Type

Latitude / longitude pair. Leaflet.js accepts these in various flavors, but we only expose this one type.

#latlng Source

latlng :: Latitude -> Longitude -> LatLng

Construct a LatLng record from separate components

#lat Source

lat :: LatLng -> Latitude

Extract the latitude from a LatLng

#lng Source

lng :: LatLng -> Longitude

Extract the longitude from a LatLng

#LatLngBounds Source

data LatLngBounds :: Type

Bounding rectangle in geo coordinate space.

#latLngBounds Source

latLngBounds :: LatLng -> LatLng -> LatLngBounds

Construct a LatLngBounds from two corners