list -> array

This commit is contained in:
Swrup 2024-01-30 16:55:19 +01:00
parent 3d91ee4ae6
commit bbd19599cd
9 changed files with 30 additions and 39 deletions

View file

@ -24,13 +24,13 @@ type opt =
(** [create icon_url options] Creates an icon instance with the given [options],
and the required `iconUrl` option set to [icon_url] *)
val create : string -> opt list -> t
val create : string -> opt array -> t
(** [create_div ~html ~bg_pos options] Creates an DivIcon instance with the
given [options], [bg_pos] is the optional relative position of the
background, in pixels [html] is custom HTML code to put inside the div
element, empty by default. *)
val create_div : html:string option -> bg_pos:Point.t option -> opt list -> t
val create_div : html:string option -> bg_pos:Point.t option -> opt array -> t
(** Sets the path of the default icon *)
val set_default_image_path : string -> unit