diff --git a/lib/layer/decorate.mjs b/lib/layer/decorate.mjs index ed3fd168e..354fe8274 100644 --- a/lib/layer/decorate.mjs +++ b/lib/layer/decorate.mjs @@ -60,6 +60,9 @@ export default async layer => { layer.draw?.defaults || {})) }) + // Layer must be reloaded to reflect geometry changes. + layer.reload() + // Get the newly created location. mapp.location.get(location) }