Skip to main content

Synchronization

kortxyz-components are built to work well together with the OGC API standards. The kortxyz-datastore component can synchronize local data changes back to an OGC API – Features service.

To enable synchronization, add the sync attribute to the <kortxyz-datastore> element:

<kortxyz-datastore
  store="syncingSource"
  data="https://example.geojson"
  sync
></kortxyz-datastore>

When sync is enabled, the component automatically issues CRUD REST requests (Create, Read, Update, Delete) to the configured data source whenever changes occur.

Updated on Jan 8, 2026