File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ const {
138138 style: mergedStyle .value ,
139139 filter: props .filter || [' all' ],
140140 id: props .id ,
141- maxzoom: props .maxzoom ,
142- minzoom: props .minzoom ,
141+ maxzoom: props .maxzoom || 22 ,
142+ minzoom: props .minzoom || 1 ,
143143 metadata: props .metadata ,
144144 sourceLayer: props .sourceLayer ,
145145 register: handleRegister ,
Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ const {
132132 style: mergedStyle .value ,
133133 filter: props .filter || [' all' ],
134134 id: props .id ,
135- maxzoom: props .maxzoom ,
136- minzoom: props .minzoom ,
135+ maxzoom: props .maxzoom || 22 ,
136+ minzoom: props .minzoom || 1 ,
137137 metadata: props .metadata ,
138138 sourceLayer: props .sourceLayer ,
139139 register: handleRegister ,
Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ const {
133133 style: mergedStyle .value ,
134134 filter: props .filter || [' all' ],
135135 id: props .id ,
136- maxzoom: props .maxzoom ,
137- minzoom: props .minzoom ,
136+ maxzoom: props .maxzoom || 22 ,
137+ minzoom: props .minzoom || 1 ,
138138 metadata: props .metadata ,
139139 sourceLayer: props .sourceLayer ,
140140 register: handleRegister ,
Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ const {
133133 style: mergedStyle .value ,
134134 filter: props .filter || [' all' ],
135135 id: props .id ,
136- maxzoom: props .maxzoom ,
137- minzoom: props .minzoom ,
136+ maxzoom: props .maxzoom || 22 ,
137+ minzoom: props .minzoom || 1 ,
138138 metadata: props .metadata ,
139139 sourceLayer: props .sourceLayer ,
140140 register: handleRegister ,
You can’t perform that action at this time.
0 commit comments