@meridian/web-sdk
Advanced tools
Changelog
[0.7.1] - 2020-05-05
API
class directly so you can use new API(options)
instead of createAPI(options)
Deprecates createAPI(options)
Switches to TypeDoc for documentation
Changelog
[0.7.0] - 2020-04-10
(BREAKING) Tag data returned from API has a new schema
tag.editor_data.tags
is now tag.tags
tag.editor_data.is_control_tag
is now tag.is_control_tag
tag.calculations.default.location.x
is now tag.x
tag.calculations.default.location.y
is now tag.y
any other fields from tag.editor_data
and tag.calculations
have been
moved up to the top level of the tag
object
This may affect your SDK usage if you use the following callbacks:
Methods on the stream returned from openStream()
stream.onInitialTags()
stream.onTagLeave()
stream.onTagUpdate()
The options callbacks to createMap()
onTagClick()
onTagsUpdate()
tags.filter()
Switched TypeScript compiler to target ES2017
Tag labels wouldn't line wrap in the tag list
Placemarks didn't hide while loading placemarks for a new floor
Map images didn't hide while loading the map image for a new floor
A few race conditions involving incorrect data appearing onscreen when switching floors quickly
Changelog
[0.6.0] - 2020-03-26
MeridianSDK.restrictedPanZoom
now supports any modifier key, not just ShiftonTagUpdate
was not called from createAPI
Bug: If showTagsControl
was false, all control tags would be
hidden on the map
The map background image would fail to load unless the user also had access to edit.meridianapps.com.