diff --git a/src/components/my-map/os-features.ts b/src/components/my-map/os-features.ts index 499b835..5e519c0 100644 --- a/src/components/my-map/os-features.ts +++ b/src/components/my-map/os-features.ts @@ -43,7 +43,7 @@ export function getFeaturesAtPoint( proxyEndpoint: string, supportClickFeatures: boolean, ) { - const xml = ` + const xml = encodeURIComponent(` SHAPE @@ -54,7 +54,7 @@ export function getFeaturesAtPoint( - `; + `); // Define (WFS) parameters object const params = {