Skip to content

Commit

Permalink
feat(appBar): fix raw feature info page #closes1280
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminderpal committed Feb 16, 2024
1 parent 849287e commit b3a61bc
Showing 1 changed file with 124 additions and 1 deletion.
125 changes: 124 additions & 1 deletion packages/geoview-core/public/templates/raw-feature-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,130 @@ <h4 id="HUC1">1. Basic Map English Geo.ca theme</h4>
<h4 id="HUC2">2. Basic Map French Dark theme</h4>
<a class="ref-link" href="#top">Top</a>
</div>

<div id="mapWM2" class="geoview-map" data-lang="fr" data-config="{
'map': {
'interaction': 'dynamic',
'viewSettings': {
'zoom': 3,
'center': [-100, 50],
'projection': 3978
},
'basemapOptions': {
'basemapId': 'osm',
'shaded': false,
'labeled': false
},
'listOfGeoviewLayerConfig': [
{
'geoviewLayerId': 'esriFeatureLYR4',
'geoviewLayerName': {
'en': 'Water quality at monitoring sites',
'fr': 'Qualite de eau'
},
'metadataAccessPath': {
'en': 'https://maps-cartes.ec.gc.ca/arcgis/rest/services/DMS/DEU_CSO_Volume/MapServer',
'fr': 'https://maps-cartes.ec.gc.ca/arcgis/rest/services/DMS/DEU_CSO_Volume/MapServer'
},
'geoviewLayerType': 'esriFeature',
'initialSettings': { 'visible': 'always' },
'listOfLayerEntryConfig': [
{
'layerId': '8'
}
]
},
{
'geoviewLayerId': 'uniqueValueId',
'geoviewLayerName': { 'en': 'uniqueValue', 'fr': 'uniqueValue' },
'metadataAccessPath': { 'en': 'https://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/MapServer/', 'fr': 'https://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/MapServer/' },
'geoviewLayerType': 'esriFeature',
'listOfLayerEntryConfig': [
{
'layerId': '1'
}
]
},
{
'geoviewLayerId': 'esriFeatureLYR5',
'geoviewLayerName': {
'en': 'Top Projects',
'fr': 'Projets super'
},
'metadataAccessPath': {
'en': 'https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/900A_and_top_100_en/MapServer/',
'fr': 'https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/900A_and_top_100_en/MapServer/'
},
'geoviewLayerType': 'esriFeature',
'listOfLayerEntryConfig': [
{
'layerId': '0'
}
]
},
{
'geoviewLayerId': 'geojsonLYR1',
'geoviewLayerName': { 'en': 'GeoJSON Sample', 'fr': 'GeoJSON Échantillon' },
'metadataAccessPath': { 'en': './datasets/geojson/metadata.json', 'fr': './datasets/geojson/metadata.json' },
'geoviewLayerType': 'GeoJSON',
'listOfLayerEntryConfig': [
{
'layerId': 'polygons.json',
'layerName': { 'en': 'Polygons', 'fr': 'Polygones' }
},
{
'layerId': 'lines.json',
'layerName': { 'en': 'Lines', 'fr': 'Lignes' }
},
{
'entryType': 'group',
'layerId': 'point-feature-group',
'layerName': { 'en': 'point-feature-group', 'fr': 'point-feature-group' },
'listOfLayerEntryConfig': [
{
'layerId': 'icon_points.json',
'layerName': { 'en': 'Icons', 'fr': 'Icones' },
'initialSettings': { 'visible': 'yes' }
},
{
'layerId': 'points.json',
'layerName': { 'en': 'Points', 'fr': 'Points' }
},
{
'layerId': 'points_1.json',
'layerName': { 'en': 'Points 1', 'fr': 'Points 1' }
},
{
'layerId': 'points_2.json',
'layerName': { 'en': 'Points 2', 'fr': 'Points 2' }
},
{
'layerId': 'points_3.json',
'layerName': { 'en': 'Points 3', 'fr': 'Points 3' }
}
]
}
]
}
]
},
'theme': 'dark',
'appBar': {
'tabs': {
'core': ['geolocator', 'export']
}
},
'navBar': ['zoom', 'fullscreen', 'home', 'location', 'export'],
'footerBar': {
'tabs': {
'core': ['legend', 'layers', 'details', 'data-table']
}
},
'components': ['north-arrow'],
'corePackages': [],
'externalPackages': [],
'suportedLanguages': ['en', 'fr']
}"></div>
<hr />

<div class="map-title-holder">
<h4 id="HUC3">2. Basic Map English Light theme</h4>
Expand Down

0 comments on commit b3a61bc

Please sign in to comment.