Module

LeafletComponent

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

#State Source

type State = { leaflet :: Maybe Map, ref :: LeafletRef, tileLayers :: Array Layer }

#LeafletRef Source

#ui Source

ui :: forall t32509 t32507. String -> Component HTML Query t32509 Message (Aff (avar :: AVAR, err :: EXCEPTION, leaflet :: LEAFLET | t32507))

#initialLeaflet Source

initialLeaflet :: forall t32173 t32172 t32171. t32171 -> { leaflet :: Maybe t32172, ref :: t32171, tileLayers :: Array t32173 }

#render Source

render :: forall t32163 t32160 t32159. { ref :: String | t32163 } -> HTML t32160 t32159

#eval Source

eval :: forall eff. Query ~> (ComponentDSL State Query Message (Aff (avar :: AVAR, err :: EXCEPTION, leaflet :: LEAFLET | eff)))