Release Notes

npmnpmPyPIPyPI

If you are upgrading a project that was created with Map SDK v0, see major API changes in the migration guide.

1.5.2

Release Date: Nov 1, 2022

  • Bug fix: Databricks HTML rendering issues have been resolved.

1.5.1

  • Minor changes related to Foursquare Studio rebranding.

1.5.0

Release Date: Oct 25, 2022

1.4.0

Release Date: Oct 14, 2022

1.3.1

  • Bug fix: Jupyter-related cell synchronization.

1.3.0

Release Date: Sept 27, 2022

  • (Pro) Added mapboxAccessToken property to MapCreationProps.basemaps
    • Default map styles will be replaced by custom map styles.
    • On-prem users must specify a custom map style. If left unspecified, only the No Basemap will be available for basemap selection.
  • (Pro) Added mapName property to MapCreationProps.uiConfig
    • Defaults mapName = "Studio"

1.2.0

Release Date: Sept 15, 2022



1.1.0

Javascript

  • Added the uiConfig parameter to MapCreationProps, allowing customization of the leftmost Studio panel. Currently a Pro feature available exclusively on the On-Prem SDK.


1.0.1

Javascript

  • Fixed an issue when trying to display a map in multiple cells


1.0.0

The initial release of Map SDK v1 presents an improved structure and a variety of new features for both Python and Javascript. In addition to the new functions listed below, existing arguments now accept custom types, providing a more consistent and stable development environment.

Find a full list of functionality in the API overview, then go to any function's page to learn more details about its purpose, accepted arguments, and return properties.

New Dataset Functions

API FunctionDescription
addTileDataset()Adds a new tiled dataset to the map.
getDatasetById()Retrieves a dataset by its identifier.
getDatasetWithData()Retrieves a dataset record with its data for a given dataset.
getDatasets()Gets all datasets available on the map.
replaceDataset()Replaces a given dataset with a new one.
updateDataset()Updates an existing dataset with given values.

New Filter Functions

API FunctionDescription
addFilter()Adds a filter to the map.
getFilterById()Retrieves a filter by its identifier.
getFilters()Gets all the filters currently applied to the map.
removeFilter()Removes a filter from the map.
updateFilter()Updates an existing filter with given values.
updateTimeline()Updates a time range filter timeline with given values.

New Layer Functions

API FunctionDescription
getLayerById()Retrieves a layer by its identifier.
getLayerTimeline()Gets the current layer timeline configuration.
updateLayer()Updates an existing layer with given values.
updateLayerTimeline()Updates the current layer timeline configuration.

New Map Functions

API FunctionDescription
addToDOM()Adds a map into a container element provided as an argument. (Normally called in constructor.)
createMap()Create a new map instance.
getMapConfig()Gets the configuration representing the current map state.
getMapControlVisibility()Gets the map control visibility settings.
getMapStyles()Gets the currently available map styles.
getSplitMode()Gets the split mode of the map.
getView()Gets the current view state of the map.
getViewLimits()Gets the current view limits of the map.
setView()Sets the view state of the map.
setViewLimits()Sets the view limits of the map.


0.7.3

  • Fix to support centerMap in HTMLUnfoldedMap


0.7.2

  • addDataset now has a centerMap boolean parameter that will center the map to a newly added dataset. Defaults to true.


0.7.1

  • setViewState can be used to set a minZoom, maxZoom, and maxBounds.


0.7.0

Starting from this release the versions of JavaScript and Python Map SDK are synced

  • setTheme now allows the user to customize the theme by providing options like the background color of the UI.
  • The Studio Map SDK now allows the user to set the map Split Mode between dual, swipe, or single mode with setSplitMode function. Optionally, passing the layer ids will set layer visibility per split view.


0.6.1

  • Python: Fix default window size in Visual Studio Code.

0.6.0

  • Python: Support for Google Colab notebooks.
  • Python: JupyterLab file opener for GeoJSON and CSV files.
  • Python: Fix a bug where some messages were not correctly received from JavaScript.

0.5.0

  • Python: Add map_config and filters arguments to be used in the HTMLUnfoldedMap constructor.

0.4.2

  • Python: Add get_map_config and set_map_config methods to the UnfoldedMap class.

0.4.1

  • Python: Fix bug where incorrect version of Studio Studio was loaded.

0.4.0

  • Python: Add provisional support for using AWS Location Services basemaps in the Map SDK via _basemap_style and _identity_pool_id arguments to UnfoldedMap.

0.3.0

  • Python: Add support for Databricks notebooks via HTMLUnfoldedMap.
  • JavaScript: Add getMapConfig and setMapConfig methods to the UnfoldedMap class.

0.2.3

Release date: Aug 3, 2021

  • Added onGeometrySelection event handler.

0.2.2

Release date: Jul 8, 2021

  • Added onHover event handler.
  • Added onClick event handler.

0.2.1

Release date: Jun 23, 2021

  • Fixed an issue with addLayer function

0.2.0

Release date: Jun 8, 2021

This release brings support for "local" maps, class based API, new map methods and improved event handling support.

  • JavaScript: UnfoldedMap is now a JavaScript class with methods. This further aligns the JavaScript and Python APIs.
  • UnfoldedMap - "local" maps that are not saved to the Studio cloud can now be created.
  • UnfoldedMap - width and height can now be set to CSS strings providing more control of the resizing of the map.
  • Added addDataset function
  • Added addLayer function
  • Added removeLayer function
  • Added setFilter function
  • Added setMapEventHandlers function
  • Added onFilter event handler.

JavaScript Upgrade Guide

JavaScript only:

  • To create a new map using Unfolded's Map SDK, use the new UnfoldedMap(...) constructor instead of the now deprecated createMap function.
  • Other Map SDK functions are now methods on UnfoldedMap object (created by the new UnfoldedMap(...) constructor). The map object argument should not be passed to the corresponding methods.
  • You now longer need to set appendToDocument in the [new UnfoldedMap(...) constructor unless you want to set it to false.
  • Map now automatically takes full width and height based on the size of the parent container so there is no need to listen on the resize event of the parent container. Values for width and height can also be set to CSS strings providing more control of the resizing of the map.
  • (BREAKING CHANGE) Property appendToDocument that is set in new UnfoldedMap(...) / createMap(...) is now true by default.

0.1.2

  • Added setTimelineConfig function that consolidates timeline settings in a single API.
  • Deprecated setTimelineAnimationSpeed, setTimelineInterval, toggleTimelineVisibility, and toggleTimelineAnimation. You should use setTimelineConfig instead.
  • Added setLayerTimelineConfig function that allows us to use layer timeline features available in certain types of layers.
  • Added getLayerTimelineInfo function that returns information about the layer timeline.

0.1.1

  • Added setTimelineAnimationSpeed function
  • Added getTimelineInfo function
  • Added onTimelineIntervalChange callback function
  • Added isVisible property with the layers returned in getLayers function
  • Bug fixes and performance improvements

0.1.0 - Initial version