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 t32507 t32509. String -> Component HTML Query t32509 Message (Aff (avar :: AVAR, err :: EXCEPTION, leaflet :: LEAFLET | t32507))

#initialLeaflet Source

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

#render Source

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

#eval Source

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