Set integer type on tileSize (#8528)

Fixes an issue when setting tile size for custom map.

```
Error: sources.aaaaa.tileSize: number expected, string found
    at Object.Tn [as emitValidationErrors] (validate_style.js:37)
    at Ue (style.js:46)
    at i2._load (style.js:245)
    at style.js:235
```
This commit is contained in:
Adrian Dimitrov
2021-10-04 06:40:11 -07:00
committed by GitHub
parent 403d19f024
commit de2c0fad42

View File

@@ -320,6 +320,7 @@ fields:
placeholder: http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png
- field: tileSize
name: $t:tile_size
type: integer
schema:
is_nullable: true
meta: