Skip to content

1.4.0

Compare
Choose a tag to compare
@arnaudleclerc arnaudleclerc released this 23 Apr 06:27
· 109 commits to develop since this release

Features

  • DataSource now supports adding features using a JSON string or a JSONDocument. The expected format is a JSON representation of a FeatureCollection.
  • DataSource can be disposed using DisposeAsync. No operation is possible on the datasource once it has been disposed. Trying to use a disposed datasource will throw a ComponentDisposedException.
  • The current options of the datasource can be retrieved from the azure-maps instance of the datasource using GetOptionsAsync.
  • The shapes of the datasource can be retrieved using GetShapesAsync. This works fine with a small dataset of data but might lead to issues with a larger one.
  • When creating a datasource, you can now pass some EventActivationFlags to react to events on the datasource. Supported events are dataadded, dataremoved, sourceadded, sourceremoved, and datasourceupdated.