Is it possible to set up a WMS server (I am a bit familiar with GeoServer
so this would be my preferred option but of course I'm open to learn something new...) that publishes an instance of a Leaflet map together with some vector overlays (e.g. GeoJSON, shapefile, whatever..)? Or am I mixing up things completely here because maps created in JavaScript cannot be published like this?
This would be nice to have for my usecase as I have set up a nice map with Leaflet which receives map tiles from our company's own tile server, does some styling, uses Leaflet plugins to display interesting stuff etc.
I would like to do some automated GetMap requests
on that map for bounding box extents that I generate programmatically and save the resulting images to disk.
The closest I could think of would be to use MapProxy to combine my custom tile layer with my vector overlays (directly or prepared by and connected through GeoServer) and publish that as a WMS server. However, this would lack the styling and plugin stuff that I can do in Leaflet.