use gadts for layer, clean code
This commit is contained in:
parent
2a760bc98d
commit
dbfbaeda60
17 changed files with 152 additions and 163 deletions
|
|
@ -4,7 +4,7 @@ val create : ?options:Jv.t -> string -> t
|
|||
|
||||
val invalidate_size : t -> unit
|
||||
|
||||
val set_view : Latlng.t -> ?zoom:int -> t -> unit
|
||||
val set_view : Latlng.t -> zoom:int option -> t -> unit
|
||||
|
||||
val fit_world : t -> unit
|
||||
|
||||
|
|
@ -20,6 +20,6 @@ val wrapped_latlng : Latlng.t -> t -> Latlng.t
|
|||
|
||||
val as_target : t -> Brr.Ev.target
|
||||
|
||||
val of_jv_t : Jv.t -> t
|
||||
val of_jv : Jv.t -> t
|
||||
|
||||
val to_jv_t : t -> Jv.t
|
||||
val to_jv : t -> Jv.t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue