add more options to tile_layer

This commit is contained in:
Swrup 2024-01-30 00:20:36 +01:00
parent b8344b172a
commit 92faca6a92
2 changed files with 63 additions and 7 deletions

View file

@ -75,6 +75,19 @@ type tile_layer_opt =
| Detect_retina of bool
| Cross_origin of bool
| Referrer_policy of bool
| Tile_size of Point.t
| Opacity of float
| Update_when_idle of bool
| Update_when_zooming of bool
| Update_interval of int
| Z_index of int
| Bounds of (* LatLngBounds *) Latlng.t * Latlng.t
| Max_native_zoom of int
| Min_native_zoom of int
| No_wrap of bool
| Pane of string
| Class_name of string
| Keep_buffer of int
(** [create_tile url attribution opts] create a new tile layer *)
val create_tile :