Ramnathv/rMaps. Crosslet. Query Multiple WMS Layers in Leaflet.js | Architecture and Planning. 16 Apr In an earlier post I imported GeoJSON in to Leaflet. One of the reasons I did this was to be able to assign a popup to each layer – which is something I could not do with WMS. I was finally able to make a popup for each of my WMS layers. Here is how I did it. I have 2 layers -psfa:SchoolPoints and psfa:CityOfAztec – on my GeoServer at: I made a Leaflet map importing these two layers. The cloudmade layer that is added is my base map. Var URL = the location of my GeoServer. GetFeatureInfo&LAYERS=my layers seperated by a , Lastly, do the same for &QUERYLAYERS= seperaed by a , This is how I was able to get my map to popup the correct info when I clicked on any WMS layer in my map. Final Map Like this: Like Loading... Leaflet - a JavaScript library for mobile-friendly maps. Makinacorpus/Leaflet.FileLayer.