PermafrostDiscoveryGateway / pdg-portal

Design and mockup documents for the PDG portal
Apache License 2.0
0 stars 0 forks source link

Display the virtual ice tours points #25

Closed robyngit closed 1 year ago

robyngit commented 1 year ago

Here is the config used for the test layer:

            {
              "label": "Virtual Ice Tours",
              "type": "GeoJsonDataSource",
              "visible": false,
              "description": "A collection of virtual tours that capture permafrost landscape and research across the Arctic. These tours were created using video, photos, and data collected by field researchers.",
              "moreInfoLink": "https://virtualice.byrd.osu.edu/",
              "attribution": "J. Cervenec and J. Moss (2022): Permafrost Tunnel Tour",
              "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 280'><path d='M482 1H18A17 17 0 0 0 1 17v246a17 17 0 0 0 17 16h173a17 17 0 0 0 15-8l28-48h32l28 48a17 17 0 0 0 15 8h173a17 17 0 0 0 17-16V17a17 17 0 0 0-17-16ZM132 204a72 72 0 1 1 0-144 72 72 0 0 1 0 144Zm236 0a72 72 0 1 1 0-144 72 72 0 0 1 0 144Z'/></svg>",
              "colorPalette": {
                "colors": [
                  {
                    "color": "#d1134c"
                  }
                ]
              },
              "featureTemplate": {
                "template": "story",
                "label": "label",
                "options": {
                  "description": "description",
                  "thumbnail": "thumbnail",
                  "url": "url",
                  "urlText": "urlText"
                }
              },
              "cesiumOptions": {
                "data": {
                  "type": "FeatureCollection",
                  "features": [
                    {
                      "type": "Feature",
                      "geometry": {
                        "type": "Point",
                        "coordinates": [
                          -147.6209142699301,
                          64.951365829418
                        ]
                      },
                      "properties": {
                        "label": "Permafrost Research Tunnel",
                        "description": "Take a virtual tour through the CRREL Permafrost Tunnel Research Facility in Fairbanks, Alaska",
                        "thumbnail": "https://media.defense.gov/2012/Dec/27/2000725210/-1/-1/0/120720-A-HB029-008.JPG",
                        "url": "https://virtualice.byrd.osu.edu/permafrost/",
                        "urlText": "Tour the Tunnel"
                      }
                    }
                  ]
                }
              }
            }
robyngit commented 1 year ago

The permafrost tour is now in its final draft stage. We are now ready to add a marker for it on the production portal!

robyngit commented 1 year ago

This is now published!