There is such a task: you need to display one of the raster layer and one or several vector objects (use layer CQL of filter).
I use geoserver to store the geodata and leaflet js on the client to display geodata.
One "beautiful" solutions is to use WMS with several layers and filters for vector layer.
For it i must define bbox. How can i do it?
I have input data:
- size of the picture
- bounding box of geoobjects
I need result: bbox