-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #514 from yileifeng/poc-zoomies
PoC for map zoomies options
- Loading branch information
Showing
11 changed files
with
295 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
public/TCEI-IECT | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
207 changes: 207 additions & 0 deletions
207
public/00000000-0000-0000-0000-000000000000/ramp-config/Locator_Map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
{ | ||
"configs": { | ||
"en": { | ||
"map": { | ||
"extentSets": [ | ||
{ | ||
"id": "EXT_ESRI_World_AuxMerc_3857", | ||
"default": { | ||
"xmax": -5007771.626060756, | ||
"xmin": -16632697.354854, | ||
"ymax": 10015875.184845109, | ||
"ymin": 5022907.964742964, | ||
"spatialReference": { | ||
"wkid": 102100, | ||
"latestWkid": 3857 | ||
} | ||
} | ||
} | ||
], | ||
"lodSets": [ | ||
{ | ||
"id": "LOD_ESRI_World_AuxMerc_3857", | ||
"lods": [ | ||
{ | ||
"level": 0, | ||
"resolution": 19567.87924099992, | ||
"scale": 73957190.948944 | ||
}, | ||
{ | ||
"level": 1, | ||
"resolution": 9783.93962049996, | ||
"scale": 36978595.474472 | ||
}, | ||
{ | ||
"level": 2, | ||
"resolution": 4891.96981024998, | ||
"scale": 18489297.737236 | ||
}, | ||
{ | ||
"level": 3, | ||
"resolution": 2445.98490512499, | ||
"scale": 9244648.868618 | ||
}, | ||
{ | ||
"level": 4, | ||
"resolution": 1222.992452562495, | ||
"scale": 4622324.434309 | ||
}, | ||
{ | ||
"level": 5, | ||
"resolution": 611.4962262813797, | ||
"scale": 2311162.217155 | ||
}, | ||
{ | ||
"level": 6, | ||
"resolution": 305.74811314055756, | ||
"scale": 1155581.108577 | ||
}, | ||
{ | ||
"level": 7, | ||
"resolution": 152.87405657041106, | ||
"scale": 577790.554289 | ||
}, | ||
{ | ||
"level": 8, | ||
"resolution": 76.43702828507324, | ||
"scale": 288895.277144 | ||
}, | ||
{ | ||
"level": 9, | ||
"resolution": 38.21851414253662, | ||
"scale": 144447.638572 | ||
}, | ||
{ | ||
"level": 10, | ||
"resolution": 19.10925707126831, | ||
"scale": 72223.819286 | ||
}, | ||
{ | ||
"level": 11, | ||
"resolution": 9.554628535634155, | ||
"scale": 36111.909643 | ||
}, | ||
{ | ||
"level": 12, | ||
"resolution": 4.77731426794937, | ||
"scale": 18055.954822 | ||
}, | ||
{ | ||
"level": 13, | ||
"resolution": 2.388657133974685, | ||
"scale": 9027.977411 | ||
}, | ||
{ | ||
"level": 14, | ||
"resolution": 1.1943285668550503, | ||
"scale": 4513.988705 | ||
}, | ||
{ | ||
"level": 15, | ||
"resolution": 0.5971642835598172, | ||
"scale": 2256.994353 | ||
}, | ||
{ | ||
"level": 16, | ||
"resolution": 0.29858214164761665, | ||
"scale": 1128.497176 | ||
}, | ||
{ | ||
"level": 17, | ||
"resolution": 0.14929107082380833, | ||
"scale": 564.248588 | ||
}, | ||
{ | ||
"level": 18, | ||
"resolution": 0.07464553541190416, | ||
"scale": 282.124294 | ||
}, | ||
{ | ||
"level": 19, | ||
"resolution": 0.03732276770595208, | ||
"scale": 141.062147 | ||
}, | ||
{ | ||
"level": 20, | ||
"resolution": 0.01866138385297604, | ||
"scale": 70.5310735 | ||
} | ||
] | ||
} | ||
], | ||
"tileSchemas": [ | ||
{ | ||
"id": "DEFAULT_ESRI_World_AuxMerc_3857", | ||
"name": "Web Mercator Maps", | ||
"extentSetId": "EXT_ESRI_World_AuxMerc_3857", | ||
"lodSetId": "LOD_ESRI_World_AuxMerc_3857", | ||
"thumbnailTileUrls": ["/tile/8/91/74', '/tile/8/91/75"] | ||
}, | ||
{ | ||
"id": "EXT_ESRI_World_AuxMerc_3857#LOD_ESRI_World_AuxMerc_3857", | ||
"name": "Web Mercator Maps", | ||
"extentSetId": "EXT_ESRI_World_AuxMerc_3857", | ||
"lodSetId": "LOD_ESRI_World_AuxMerc_3857", | ||
"thumbnailTileUrls": ["/tile/8/91/74", "/tile/8/91/75"], | ||
"hasNorthPole": false | ||
} | ||
], | ||
"basemaps": [ | ||
{ | ||
"id": "esriOcean", | ||
"tileSchemaId": "DEFAULT_ESRI_World_AuxMerc_3857", | ||
"layers": [ | ||
{ | ||
"layerType": "esri-tile", | ||
"url": "https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer", | ||
"opacity": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "baseEsriWorld", | ||
"name": "World Imagery", | ||
"description": "World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.", | ||
"altText": "World Imagery", | ||
"layers": [ | ||
{ | ||
"id": "World_Imagery", | ||
"layerType": "esri-tile", | ||
"url": "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer" | ||
} | ||
], | ||
"tileSchemaId": "EXT_ESRI_World_AuxMerc_3857#LOD_ESRI_World_AuxMerc_3857", | ||
"attribution": { | ||
"text": { | ||
"disabled": true | ||
}, | ||
"logo": { | ||
"disabled": true | ||
} | ||
} | ||
} | ||
], | ||
"initialBasemapId": "baseEsriWorld" | ||
}, | ||
"legend": { | ||
"type": "structured", | ||
"root": { | ||
"name": "root", | ||
"children": [ | ||
{ | ||
"layerId": "Salish_Sea_Boundaries" | ||
} | ||
] | ||
} | ||
}, | ||
"layers": [ | ||
{ | ||
"id": "Salish_Sea_Boundaries", | ||
"name": "Salish Sea Boundaries", | ||
"layerType": "esri-feature", | ||
"url": "https://ecqcj8ywvwsd025.ncr.int.ec.gc.ca:6443/arcgis/rest/services/CWS-SCF_Storylines/TMXLocator/MapServer/0" | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
.textPanelOutline { | ||
border: 2px solid black; | ||
} | ||
} | ||
|
||
.right-align { | ||
margin-left: auto !important; | ||
margin-right: 10% !important; | ||
max-width: 600px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.