@meridian/web-sdk
Advanced tools
Changelog
[0.13.1] - 2021-02-19
An issue where an HTTP 401 related message would log to the console; now we
give a helpful suggestion to use loadTags: false
in this scenario
The "basic" demo didn't work correctly
Changelog
[0.12.3] - 2021-02-17
<polygon>
instead of <path>
Changelog
[0.12.2] - 2021-02-11
Changelog
[0.12.1] - 2021-02-08
placemarkIconURL: no such icon 'label_department'
Changelog
[0.12.0] - 2021-02-08
MeridianSDK.placemarkIconURL(type)
return URL to an icon representing the
given placemark typeonPlacemarksUpdate({ allPlacemarks, filteredPlacemarks })
callback to
createMap
overlays
array in createMap
, to draw custom polygons or polylines over the
maponFloorChange
callback in createMap
annotations
array in createMap
, to draw custom images and textChangelog
[0.11.0] - 2020-11-19
map.destroy()
is now optional; a MeridianMap
can detect being disconnected
from the DOM and automatically destroy itselfChangelog
[0.10.0] - 2020-11-19
map.destroy()
method which should be called when you're done with a map, to
close network connections (e.g. in a single page app, or when using JS that
removes the map container from the DOM, or replaces its contents via
innerHTML
)Changelog
[0.9.0] - 2020-11-06
loadPlacemarks
didn't work correctlyapi.fetchTagsByFloor()
api.fetchTagsByLocation()
api.fetchPlacemarksByFloor()
api.fetchFloorsByLocation()
api.fetchSVG()
api.token
is now read-onlyapi.environment
is now read-onlyapi.axios
Changelog
[0.8.1] - 2020-09-09
locationID
can now be changed after calling createMap
Exclusion zones are now hidden
Changelog
[0.8.0] - 2020-07-23
loadPlacemarks
that when false causes the map to not load
placemark data (defaults to true
; it can be updated via update
to true
later if you want to load the data at a later time)