Migration Guide

This pages details APIs not longer supported and their counterparts in v1.

v0 APIv1 APINotes
HTMLUnfoldedMapNo longer needed. See notes.The Map SDK now recognizes your environment and will automatically use an HTML renderer for non-interactive environments such as DataBricks. You can pass renderer = “html” in create_map()to force HTML rendering.
UnfoldedMap()createMap()
getLayerTimelineInfo()getLayerTimeline()
getMapUrl()Not available.Published maps are currently not supported in v1.0.
getTimelineInfo()getFilters(), getFilterById()Timeline info is now stored in FilterTimeline, which can be extracted from the TimeRangeFilter object.
onLoad()Not available.Published maps are currently not supported in v1.0.
onTimelineIntervalChange()onFilterUpdate()
refreshMapData()Not available.Published maps are currently not supported in v1.0.
setFilter()addFilter()
setLayerVisibility()updateLayer()Setting a layer's visibility is an option in updateLayer().
setMapEventHandlers()Not available for Javascript. For Python, see set_event_handlers()In Javascript, event handlers can now be accessed and updated through the map object.
setTimelineConfig()updateLayerTimeline()
setViewState()setView()

Having trouble? Reach out in the Studio Community Slack or contact us directly via email.


Sign In