mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fix(sync) only send datalayer options
This commit is contained in:
parent
898a3e93b2
commit
d5bff22081
1 changed files with 1 additions and 2 deletions
|
@ -608,8 +608,7 @@ U.DataLayer = L.Evented.extend({
|
|||
|
||||
if (sync !== false) {
|
||||
const { engine, subject, metadata } = this.getSyncMetadata()
|
||||
const geoJSON = this.umapGeoJSON()
|
||||
engine.upsert(subject, metadata, geoJSON)
|
||||
engine.upsert(subject, metadata, this.options)
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue