Release Notes
This change log covers the Map SDK which is installed / imported via:
- JavaScript scripts
- JavaScript npm module
- Python pip module
Use standard installation mechanisms to select a specific version of the Unfolded Map SDK:
yarn add @unfolded/map-sdk
pip install unfolded.map-sdk
0.7.0 (February 23, 2022)
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 Unfolded Map SDK now allows the user to set the map Split Mode between
dual
,swipe
, orsingle
mode with setSplitMode function. Optionally, passing the layer id's 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
andfilters
arguments to be used in theHTMLUnfoldedMap
constructor.
0.4.2
- Python: Add
get_map_config
andset_map_config
methods to theUnfoldedMap
class.
0.4.1
- Python: Fix bug where incorrect version of Unfolded 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 toUnfoldedMap
.
0.3.0
- Python: Add support for Databricks notebooks via
HTMLUnfoldedMap
. - JavaScript: Add
getMapConfig
andsetMapConfig
methods to theUnfoldedMap
class.
0.2.3
Release date: Aug 3, 2021
- Added
onGeometrySelection
event handler.
0.2.2
Release date: Jul 8, 2021
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 Unfolded cloud can now be created.UnfoldedMap
-width
andheight
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 deprecatedcreateMap
function. - Other Map SDK functions are now methods on
UnfoldedMap
object (created by thenew UnfoldedMap(...)
constructor). Themap
object argument should not be passed to the corresponding methods. - You now longer need to set
appendToDocument
in thenew UnfoldedMap(...)
constructor unless you want to set it tofalse
. - 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 forwidth
andheight
can also be set to CSS strings providing more control of the resizing of the map. - (BREAKING CHANGE) Property
appendToDocument
that is set innew UnfoldedMap(...)
/createMap(...)
is nowtrue
by default.
0.1.2
- Added
setTimelineConfig
function that consolidates timeline settings in a single API. - Deprecated
setTimelineAnimationSpeed
,setTimelineInterval
,toggleTimelineVisibility
, andtoggleTimelineAnimation
. You should usesetTimelineConfig
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 ingetLayers
function - Bug fixes and performance improvements
0.1.0 - Initial version
Updated 3 months ago
Did this page help you?