New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

terriajs

Package Overview
Dependencies
Maintainers
8
Versions
452
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terriajs - npm Package Versions

1
46

8.2.11

Diff

Changelog

Source

8.2.11 - 2022-08-08

  • Add ability to customise the getting started video in the StoryBuilder panel
  • Set cesium base URL by default so that cesium assets are resolved correctly
  • Add cesiumBaseUrl to TerriaOptions for overriding the default cesium base url setting
  • Fix broken Bing map logo in attributions
  • Added ability to customise the getting started video in the StoryBuilder panel.
  • Fixed a bug where menu items were rendered in the wrong style if the window was resized from small to large, or large to small.
  • Strongly type item in WorkbenchItem and remove show toggle for non Mappable items.
  • Add configParameters.regionMappingDefinitionsUrls - to support multiple URLs for region mapping definitions - if multiple provided then the first matching region will be used (in order of URLs)
    • configParameters.regionMappingDefinitionsUrl still exists but is deprecated - if defined it will override regionMappingDefinitionsUrls
  • TableMixin.matchRegionProvider now returns RegionProvider instead of string region type. (which exists at regionProvider.regionType)
  • Fix shouldShorten property in catalog and story ShareUrl
  • Fix shortenShareUrls user property
  • Add videoCoverImageOpacity option to HelpContentItem so that we can fade the background of help video panels.
  • Fix a bug where all HelpVideoPanels were being rendered resulting in autoplayed videos playing at random.
  • Add getFeatureInfoUrl and getFeatureInfoParameters to WebMapServiceCatalogItemTraits
  • Fix SearchBoxAndResults Trans values
  • Fix generateCatalogIndex for nested references
  • Fix SearchBox handling of searchWithDebounce when debounceDuration prop changes. It now fushes instead of cancels.
terria
published 8.2.10 •

Changelog

Source

8.2.10 - 2022-08-02

  • Breaking changes:
    • Minimum NodeJS version is now 14
  • Consolidate HasLocalData interface
  • Add GlTf type definition (v2)
  • Add gltfModelUrl to GltfMixin - this must be implemented by Models which use GltfMixin
  • Moved GltfCatalogItem to lib/Models/Catalog/Gltf/GltfCatalogItem.ts
  • Add experimental client-side 3D file conversion using assimpjs (emscripten interface for the assimp library)
    • This supports zip files and HasLocalData - but is not in getDataType as the scene editor (closed source) is required to geo-reference
    • Supports over 40 formats - including Collada, obj, Blender, DXF - full list
  • Add description to getDataType - this will be displayed between Step 1 and Step 2
  • Add warning message to GltfMixin when showing in 2D mode (Leaflet)
  • Upgrade husky to ^8.0.1
  • Prevent looping when navigating between scenes in StoryPanel using keyboard arrows
  • Fix bug where StoryPanel keyboard navigation persists after closing StoryPanel
  • Fix select when clicking on multiple features in 2D (#5660)
  • Implemented support for featureInfoUrlTemplate on 2D vector features (#5660)
  • Implemented FeatureInfoMixin in GeojsonMixin (#5660)
  • GpxCatalogItem now use GeojsonMixin for loading data. (#5660)
  • GeoRssCatalogItem now use GeojsonMixin for loading data. (#5660)
  • Upgrade i18next to v21
  • Limit workbench item title to 2 lines and show overflow: ellipsis after.
  • Add allowFeaturePicking trait to Cesium3dTileMixin.
  • Feature Info now hidden on Cesium3dTiles items if allowFeaturePicking set to false. Default is true.
  • Add initFragmentPaths support for hostnames different to configUrl/applicationUrl
  • Add DOMPurify to parseCustomHtmlToReact (it was already present in parseCustomMarkdownToReact)
  • Update html-to-react to 1.4.7
  • Add ViewState React context provider to StandardUserInterface - instead of passing viewState or terria props through components, please use
    • useViewState hook
    • withViewState HOC
  • Move GlobalTerriaStyles from StandardUserInterface to separate file
  • Add ExternalLinkWithWarning component - this will replace all URLs in story body and add a warning message when URLs are clicked on.
  • Fixed a bug where adding CesiumTerrainCatalogItem to workbench didn't apply it when configParameters.cesiumTerrainAssetId or configParameters.cesiumTerrainUrl was set.
  • CesiumTerrainCatalogItem will now show a status In use or Not in use in the workbench.
  • Rewrote CesiumTerrainCatalogItem to handle and report network errors.
  • Set JulianDate.toIso8601 second precision to nanosecond - this prevents weird date strings with scientific/exponent notation (eg 2008-05-07T22:54:45.7275957614183426e-11Z)
  • Add attribution for Natural Earth II and NASA Black Marble basemaps.
terria
published 8.2.9 •

Changelog

Source

8.2.9 - 2022-07-13

  • Pin html-to-react to 1.4.5 due to ESM module in dependency (parse5) breaking webpack
  • Add step to "Deploy TerriaMap" action to save yarn.lock after sync-dependencies (for debug purposes)
  • TSIfy SharePanel
  • Move includeStoryInShare out of ViewState into local state
  • Implement ability to navigate between scenes in StoryPanel using keyboard arrows
  • Rename FeatureInfoMixin to FeatureInfoUrlTemplateMixin
  • Move featureInfoTemplate and showStringIfPropertyValueIsNull from FeatureInfoTraits to MappableTraits (all mappable catalog items)
  • Remove FeatureInfoUrlTemplateTraits from all models that don't use FeatureInfoUrlTemplateMixin
  • Fix "Regions: xxx" short report showing for non region mapped items
  • Fix showInChartPanel default for mappable items
terria
published 8.2.8 •

Changelog

Source

8.2.8 - 2022-07-04

  • Improve Split/compare error handling
  • Fix itemProperties split bug
  • Table styling is disabled if MultiPoint are in GeoJSON
  • Add GeoJsonTraits.useOutlineColorForLineFeatures - If enabled, TableOutlineStyleTraits will be used to color Line Features, otherwise TableColorStyleTraits will be used.
  • Fix feature highliting for Line, MultiLine and MultiPoint
  • Await Internationalisation initialisation in Terria.start
  • UserDrawing.messageHeader can now also be () => string
terria
published 8.2.7 •

Changelog

Source

8.2.7 - 2022-06-30

  • Fix WorkbenchItem title height
  • Add region map info and move "No Data" message to InfoSections in TableAutomaticStylesStratum
  • Fix missing TableColorStyleTraits.legend values in ColorStyleLegend
  • Fix DateTimeSelectorSection.changeDateTime() binding.
  • RegionProvider.find*Variable functions now try to match with and without whitespace (spaces, hyphens and underscores)
  • Clean up regionMapping.json descriptions
  • Implement Leaflet credits as a react component, so it is easier to maintain them. Leaflet view now show terria extra credits.
  • Implement Cesium credits as a react component, so it is easier to maintain them.
  • Implement data attribution modal for map data attributions/credits. Used by both Leaflet and Cesium viewers.
  • Fixed translation of Leaflet and Cesium credits.
  • TSXify ChartPanelDownloadButton
  • ChartPanelDownloadButton will now only export columns which are visible in chart
  • Cleanup Mixin and Traits inheritance
  • Wrap the following components in observer - ChartItem, LineChart, (chart) Legends, ChartPanelDownloadButton
  • Improve TerriaReference error logging
  • Fix handling GeoJSON if features have null geometry
  • Fix bug where map tools names appear as translation strings
  • Allow IFC files to be added to a map from local or web data (Requires non-open source plugin)
  • Rename useTranslationIfExists to applyTranslationIfExists so it doesn't look like a React hook.
  • Added a required parameter i18n to applyTranslationIfExists to avoid having stale translated strings when the language changes.
  • Fix StoryBuilder remove all text color
  • Fix FeatureInfoPanel Loader color
terria
published 8.2.6 •

Changelog

Source

8.2.6 - 2022-06-17

  • Breaking changes:
    • Changed translation resolution. Now the "translation" namespace loads only from ${terria.baseUrl}/languages/{{lng}}/translation.json (TerriaJS assets) and "languageOverrides" loads from languages/{{lng}}/languageOverrides.json (a TerriaMap's assets)
  • Removed EN & FR translation files from bundle. All translation files are now loaded on demand.
  • Moved translation files from lib/Language/*/translation.json to wwwroot/languages/*/translation.json.
  • Fixed default 3d-tiles styling to add a workaround for a Cesium bug which resulted in wrong translucency value for point clouds.
  • Remove Pell dependency, now replaced with TinyMCE (WYSIWYG editor library).
  • Added beforeRestoreAppState hook for call to Terria.start() which gets called before state is restored from share data.
  • Made order optional for ICompositeBarItem.
  • Fix includes path for url-loader rule so that it doesn't incorrectly match package names with terriajs as prefix.
  • Add help button for bookmarking sharelinks to SharePanel (if that help item exists in config)
terria
published 8.2.5 •

Changelog

Source

8.2.5 - 2022-06-07

  • Add Google Analytics event for drag and drop of files onto map.
  • Allow users to choose whether Story is included in Share
  • Fixed bug that broke Cesium when WebGL was not available. Reverts to Leaflet.
  • Fixed bug where new Terria() constructror would try to access document and throw an error when running in NodeJS.
  • Add WPS support for Date (additional to existing DateTime) and support for ComplexData Date/DateTime WPS Inputs.
  • TSXified StandardUserInterface and some other components. If your TerriaMap imports StandardUserInterface.jsx remove the .jsx extension so webpack can find the new .tsx file.
  • Fix use of baseMapContrastColor in region mapping/protomaps and remove MAX_SELECTABLE_DIMENSION_OPTIONS.
  • mapItems can now return arbitrary Cesium primitives.
  • Added progress of 3DTiles data source loading to Progress Bar.
  • ProgressBar colour now depends on baseMapContrastColor - improves visibility on light map backgrounds.
  • Update terriajs-cesium to 1.92.0.
  • Replace Pell WYSIWYG editor library with TinyMCE, allows richer editing of Stories in the Story Builder
  • Added support for using Compare / Split Screen mode with Cesium 3D Tiles.
  • Fix BottomDock.handleClick binding
  • Use the theme base font to style story share panel.
  • Fix problem with Story Prompt not showing
  • Fix global body style (font and focus purple)
  • Add color:inherit to Button
terria
published 8.2.4 •

Changelog

Source

8.2.4 - 2022-05-23

  • Update protomaps to 1.19.0 - now using offical version.
  • Fix Table/VectorStylingWorkflow for datasets with no columns/properties to visualise
  • Improve default activeStyle in TableMixin - if no scalar style is found then find first style with enum, text and finally region.
  • Add Mustache template support to modelDimensions for string properties in option.value (with the catalog member as context)
  • Added a check for disableExport in ChartPanelDownloadButton.jsx. Prevents download button rendering.
  • Fix CatalogIndex types
  • Moved code for retrieving a model by id, share key or CatalogIndex to a new function terria.getModelByIdShareKeyOrCatalogIndex.
  • Updated handling of previewedItemId to use new function terria.getModelByIdShareKeyOrCatalogIndex. This will now use CatalogIndex if the previewedItemId cannot be found in models or model share keys.
  • Fixed a race condition inside ModalPopup that caused the explorer panel (data catalogue) to be stuck hidden until refresh.
  • Fix bug that broke the DiffTool preventing it from opening.
  • TSify BottomDock and measureElement components.
  • Fixed a bug in GltfMixin which resulted in some traits missing from GltfCatalogItem and broke tools like the scene editor.
  • Leaflet attribution can be set through config.leafletAttributionPrefix. Attribution HTML string to show on Leaflet maps. Will use Leaflet's default if undefined. To hide Leaflet attribution - set leafletAttributionPrefix:""
  • Re-add missing helpPanel.mapUserGuide translation string
  • Fix sortMembersBy for child Groups and References
  • Add raiseError convenience method to TerriaError
  • Improve filterOutUndefined types
  • Add Maki icons - these can be used in TablePointStyleTraits. For example marker = "hospital"
  • Rename ProtomapsImageryProvider.duplicate() to ProtomapsImageryProvider.clone().
  • Add ts-essentials library - "a set of high-quality, useful TypeScript types that make writing type-safe code easier"
  • GeojsonMixin improvements
    • uveMvt is now useTableStylingAndProtomaps
    • If useTableStylingAndProtomaps is true, then protomaps is used for Line and Polygon features, and TableMixin is used for Point features (see createLongitudeLatitudeFeaturePerRow())
    • GeoJsonTraits.style is now only supported by Cesium primitives (if defined, then useTableStylingAndProtomaps will be false). Instead you can use TableStyleTraits
  • TableMixin improvements
    • Add new TableStyleMap model, this is used to support enum, bin and null styles for the following:
      • TablePointStyleTraits - this supports markers (URLs or Maki icons) and rotation, width, height and pixelOffset.
      • Add TableOutlineStyleTraits - this supports color and width.
    • Legends are now handled by TableAutomaticLegendStratum
    • Legends will be merged across TableStyleMaps and TableColorMap - for example, marker icons will be shown in legend with correct colors. See MergedStyleMapLegend
    • Default activeStyle is now picked by finding the first column of type scalar, and then the first column of type enum, then text and then finally region.
  • ArcGisFeatureServiceCatalogItem now uses Table styling and protomaps
  • Adapted BaseModel.addObject to handle adding objects to ArrayTraits with idProperty="index" and isRemoval. The new object will be placed at the end of the array (across all strata).
  • Add allowCustomInput property to SelectableDimensionGroup - if true then react-select will allow custom user input.
  • TableStylingWorkflow improvements
    • Better handling of swapping between different color scheme types (eg enum or bin)
    • Add point, outline and point-size traits
terria
published 8.2.3-prerender.3 •

terria
published 8.2.3-prerender.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc