package leaflet

  1. Overview
  2. Docs

Module Leaflet.PopupSource

Sourcetype t
Sourceval set_latlng : Latlng.t -> unit

set_latlng latlng changes the popup position to the given point

Sourceval set_content : string -> unit

set_content s changes the popup content to s

Sourceval open_on : Map.t -> unit

open_on map * Adds the popup to map and closes the previous one.

Sourceval close : Map.t -> unit

close map * closes the popup of map

Sourceval of_jv : Jv.t -> t

of_jv jv is jv as t