GML geometries are parsed using the OpenLayers format utils, which rely on DOMParser. This API is not available in workers.
A workaround could be to use https://github.com/xmldom/xmldom which apparently provides an identical API as DOMParser but compatible with a worker environment.
GML geometries are parsed using the OpenLayers format utils, which rely on
DOMParser
. This API is not available in workers.A workaround could be to use https://github.com/xmldom/xmldom which apparently provides an identical API as
DOMParser
but compatible with a worker environment.