package leaflet
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Basic layers
val remove : _ t -> unit
remove layer
removes layer
from the map it is currently active on
val unbind_popup : _ t -> unit
unbind_popup layer
unbinds the popup bound to layer
val open_popup : _ t -> unit
open_popup layer
opens the popup bound to layer
val close_popup : _ t -> unit
close_popup layer
closes the popup bound to layer
Geojson layers
create_geojson geojson
is a new geojson layer
Marker layers
create_marker latlng
is a new marker with the same position as latlng
Tile layers
val create_tile_osm : string option -> [ `Tile ] t
create_tile_osm Some(url)
is a new tile layer with tile server specified by url
. Tile server default to openstreetmap.org
. See https://wiki.openstreetmap.org/wiki/Tile_servers
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>