Module
Leaflet
- Package
- purescript-leaflet-tdammers
- Repository
- tdammers/purescript-leaflet-tdammers
Re-exports from Leaflet.Evented
Re-exports from Leaflet.LatLng
#LatLngBounds Source
data LatLngBounds :: TypeBounding rectangle in geo coordinate space.
#latLngBounds Source
latLngBounds :: LatLng -> LatLng -> LatLngBoundsConstruct a LatLngBounds from two corners
Re-exports from Leaflet.Layer
Re-exports from Leaflet.Map
#Map Source
#invalidateSize Source
invalidateSize :: forall e. Map -> Eff (leaflet :: LEAFLET | e) UnitTell a map that the size of its container may have changed, causing it to
Re-exports from Leaflet.Marker
Re-exports from Leaflet.MouseInteraction
#MouseEventHandle Source
data MouseEventHandle :: Type#MouseEvent Source
newtype MouseEventMetadata for a mouse event.
Constructors
MouseEvent { containerPoint :: Point, latlng :: LatLng, layerPoint :: Point }
Instances
Re-exports from Leaflet.TileLayer
#UrlTemplate Source
type UrlTemplate = StringA URL template for tile layers.
#tileLayer Source
tileLayer :: forall e. UrlTemplate -> Array Option -> Eff (leaflet :: LEAFLET | e) LayertileLayer template options creates a new
tile layer using
the URL template template to generate tile URLS.
The template can use the following variables, written between curly braces:
{z}: zoom level{x},{y}: the tile coordinates (after projection), from the range[0..(2 ^ z)){s}: subdomain
Example: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"