From 06e3f383edd7b1232321b139b40366fb496cbf3d Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Wed, 5 Dec 2018 12:53:00 +0300 Subject: [PATCH] set default map style option to an empty style #6748 --- src/ui/map.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/map.js b/src/ui/map.js index 277df72dc83..42c4037ae93 100755 --- a/src/ui/map.js +++ b/src/ui/map.js @@ -98,6 +98,11 @@ type MapOptions = { const defaultMinZoom = 0; const defaultMaxZoom = 22; const defaultOptions = { + style: { + version: 8, + sources: {}, + layers: [] + }, center: [0, 0], zoom: 0, bearing: 0,