@colisweb/rescript-toolkit 5.9.7 → 5.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/vendors/Here.res +6 -0
package/package.json
CHANGED
package/src/vendors/Here.res
CHANGED
|
@@ -119,10 +119,12 @@ module Map = {
|
|
|
119
119
|
type instance
|
|
120
120
|
type object
|
|
121
121
|
type objectLayer
|
|
122
|
+
type padding = {top?: int, left?: int, bottom?: int, right?: int}
|
|
122
123
|
|
|
123
124
|
type options = {
|
|
124
125
|
zoom: int,
|
|
125
126
|
center: coordinates,
|
|
127
|
+
padding?: padding,
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
@new
|
|
@@ -187,6 +189,8 @@ module Map = {
|
|
|
187
189
|
|
|
188
190
|
@send
|
|
189
191
|
external resize: (t, unit) => unit = "resize"
|
|
192
|
+
@send
|
|
193
|
+
external setPadding: (t, int, int, int, int) => unit = "setPadding"
|
|
190
194
|
}
|
|
191
195
|
module ViewModel = {
|
|
192
196
|
type t
|
|
@@ -198,6 +202,8 @@ module Map = {
|
|
|
198
202
|
|
|
199
203
|
@send
|
|
200
204
|
external setLookAtData: (t, options) => unit = "setLookAtData"
|
|
205
|
+
@send
|
|
206
|
+
external setLookAtDataWithAnimateOption: (t, options, bool) => unit = "setLookAtData"
|
|
201
207
|
}
|
|
202
208
|
|
|
203
209
|
module Group = {
|