Skip to content

Commit 392f08b

Browse files
committed
fix: loader strategy
1 parent f73fd97 commit 392f08b

File tree

3 files changed

+219
-149
lines changed

3 files changed

+219
-149
lines changed

src/GEOComp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ var GEOComp = (function () {
156156
fullscreen: true,
157157
layers: true,
158158
center: true,
159-
modify: true,
159+
modify: false,
160160
save: false,
161-
splitscreen: true,
161+
splitscreen: false,
162162
tracker: false,
163163
timeline: false,
164164
gpsCentered: true,
@@ -176,7 +176,7 @@ var GEOComp = (function () {
176176
"modify:undo": true,
177177
"modify:clear": true,
178178
"modify:snap": true,
179-
"splitscreen:horizontal": false,
179+
"splitscreen:horizontal": true,
180180
"splitscreen:vertical": false,
181181
debug: geoContext.previewMode,
182182
}),

src/i18n/comps/locales/enObj.tsx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ export const enObj: I18nObjects = {
66
"label": "ArcGIS Feature Servies",
77
"title": "ArcGIS Feature Servies",
88
"type": "arcgis-feature-service",
9-
"order": 11,
10-
"minZoom": 0,
9+
"minZoom": 8,
1110
"maxZoom": 22,
1211
"visible": true,
1312
"selectable": true,
@@ -19,8 +18,7 @@ export const enObj: I18nObjects = {
1918
"label": "ArcGIS - Vector Tile PBF",
2019
"title": "ArcGIS - Vector Tile PBF",
2120
"type": "arcgis-vector-tiles",
22-
"order": 10,
23-
"minZoom": 0,
21+
"minZoom": 8,
2422
"maxZoom": 22,
2523
"visible": true,
2624
"selectable": true,
@@ -33,7 +31,6 @@ export const enObj: I18nObjects = {
3331
"label": "PMTiles - Raster",
3432
"title": "PMTiles - Raster",
3533
"type": "pmtiles",
36-
"order": 9,
3734
"minZoom": 0,
3835
"maxZoom": 30,
3936
"visible": false,
@@ -48,7 +45,6 @@ export const enObj: I18nObjects = {
4845
"label": "PMTiles - Vector",
4946
"title": "PMTiles - Vector",
5047
"type": "pmtiles",
51-
"order": 8,
5248
"minZoom": 0,
5349
"maxZoom": 30,
5450
"visible": false,
@@ -62,7 +58,6 @@ export const enObj: I18nObjects = {
6258
"label": "GeoJson",
6359
"title": "GeoJson with Style and Image src",
6460
"type": "geojson",
65-
"order": 7,
6661
"minZoom": 0,
6762
"maxZoom": 22,
6863
"visible": true,
@@ -285,7 +280,6 @@ export const enObj: I18nObjects = {
285280
{
286281
"label": "Contours - WFS",
287282
"type": "wfs",
288-
"order": 5,
289283
"minZoom": 0,
290284
"maxZoom": 22,
291285
"visible": true,
@@ -302,7 +296,6 @@ export const enObj: I18nObjects = {
302296
{
303297
"label": "World Basemap - MVT/pbf",
304298
"type": "mvt",
305-
"order": 4,
306299
"minZoom": 0,
307300
"maxZoom": 22,
308301
"splitscreen": "left",
@@ -317,7 +310,6 @@ export const enObj: I18nObjects = {
317310
{
318311
"label": "USA MapServer ImageLayer - ArcGIS MapServer",
319312
"type": "arcgis-mapserver",
320-
"order": 3,
321313
"minZoom": 0,
322314
"maxZoom": 22,
323315
"visible": false,
@@ -331,7 +323,6 @@ export const enObj: I18nObjects = {
331323
{
332324
"label": "USA MapServer TileLayer - ArcGIS MapServer",
333325
"type": "arcgis-mapserver",
334-
"order": 2,
335326
"minZoom": 0,
336327
"maxZoom": 22,
337328
"visible": false,
@@ -344,7 +335,6 @@ export const enObj: I18nObjects = {
344335
{
345336
"label": "NASA | BlueMarble NextGeneration - WMS",
346337
"type": "wms",
347-
"order": 1,
348338
"minZoom": 0,
349339
"maxZoom": 8,
350340
"visible": true,
@@ -363,7 +353,6 @@ export const enObj: I18nObjects = {
363353
{
364354
"label": "Mapbox Style GL - JSON",
365355
"type": "stylegl",
366-
"order": 0,
367356
"minZoom": 0,
368357
"maxZoom": 22,
369358
"visible": false,
@@ -378,7 +367,6 @@ export const enObj: I18nObjects = {
378367
{
379368
"label": "Open Street Map - XYZ",
380369
"type": "xyz",
381-
"order": -1,
382370
"minZoom": 0,
383371
"maxZoom": 19,
384372
"visible": true,

0 commit comments

Comments
 (0)