Add wms streets layer as background on echarts map

I have an echarts map already, see the image.

I use echarts.registerMap() with some geojson data. Those are they grey polygons shown in the image.
Data Series are the green and black polygons

Now I want to add a streets layer on the background.
Using Google, Baidu or similar is not an option.

Streets layer already exists in a Geoserver accesible to me.
Geoserver can provide a wms layer.
How can I insert this wms layer in the echarts background ??
Is it possible ??
Thanks in advance

1 Like

cool stuff! trying to do a similar project.

Can you get the layer as geojson from geoserver?

https://docs.geoserver.org/main/en/user/tutorials/GetFeatureInfo/geojson.html