I think that this sample is your friend : https://openlayers.org/en/latest/examples/side-by-side.html
Le mer. 20 janv. 2021 à 12:56, Joris Billen <[email protected]> a écrit : > Hi Alexandre, > yeah that is what we have in mind to do. > Was just wondering if it shipped with something like this. > If you happen to have links describing this, feel free to share. > > Thanks for response, > Joris > > On 20 Jan 2021, at 12:54, Alexandre Gacon <[email protected]> > wrote: > > Hi Joris, > > Did you try to use a JavaScript library like OpenLayers to build a html > page with 2 maps and different sources ? > > Regards > ALexandre > > Le mer. 20 janv. 2021 à 12:50, Joris Billen <[email protected]> > a écrit : > >> Dear geoserver community, >> This question is about how to load 2 different maps at once. >> I typically open my maps using a url in the browser that contains the CQL >> filter. Example: >> >> http://myserver:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=map_number_one&CQL_FILTER=somefield=x >> >> >> But I am interested in showing 2 different maps at the same time. If the >> user applies a CQL filter, we would like to have this applied automatically >> to both maps. So if he enters >> somefield=x >> we would like to show in 1 window next to each other : >> >> http://myserver:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=map_number_one&CQL_FILTER=somefield=x >> >> http://myserver:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=map_number_two&CQL_FILTER=somefield=x >> >> >> Is there a simple built-in option to do this? >> >> >> >> Thanks for feedback! >> >> _______________________________________________ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2F&data=04%7C01%7Cjoris.billen%40bigindustries.be%7C5eeba3344501426adc6308d8bd3a2f6c%7C49c3d703357947bfa8887c913fbdced9%7C0%7C0%7C637467404891145484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=SUo%2Bbed5kdZJ0d9eK42c2L0zEXW5nJvlzzXRR6rxTvQ%3D&reserved=0> >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.html&data=04%7C01%7Cjoris.billen%40bigindustries.be%7C5eeba3344501426adc6308d8bd3a2f6c%7C49c3d703357947bfa8887c913fbdced9%7C0%7C0%7C637467404891155484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eTaIItU0wHgXQ%2BedHxoANmYQV1L1ZBlnh%2BnmUhnGQiI%3D&reserved=0> >> >> If you want to request a feature or an improvement, also see this: >> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&data=04%7C01%7Cjoris.billen%40bigindustries.be%7C5eeba3344501426adc6308d8bd3a2f6c%7C49c3d703357947bfa8887c913fbdced9%7C0%7C0%7C637467404891155484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=h5fBBf1t3CPrHUJDYx%2FfiYS3LpLFSz4iC6T249CLvhk%3D&reserved=0> >> >> >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users&data=04%7C01%7Cjoris.billen%40bigindustries.be%7C5eeba3344501426adc6308d8bd3a2f6c%7C49c3d703357947bfa8887c913fbdced9%7C0%7C0%7C637467404891165479%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GyOauhxU1PVR7AW9XQ3CFQ8TB6tLgnc291ITBBrEIIs%3D&reserved=0> >> > > > -- > Alexandre Gacon > > > -- Alexandre Gacon
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
