I think that tiled WMS is exactly what you want. WMS has several operations:
To make a map, a client (OpenLayers in this case) submits WMS GetMap requests and receives multiple tiles (images) in response. The client assembles these into a map for the user to see. When the user clicks on a pixel on the map, OpenLayers submits a WMS GetFeatureInfo request to the server. This is a request for a description of all features at a pixel on the map, typically comprising all the attributes of each feature. The client then renders this for the user to view. When you use the OpenLayers layer preview in GeoServer, you are doing exactly this: using tiled WMS with GetMap and GetFeatureInfo for get attributes from features on the map. Is this what you want? Kind regards, Ben. On 31/12/15 01:54, epyks23 wrote: > I have multiple vector layers (lines, points and polygons) and one raster > layer. > > I want the user to be able to click on the map and a pop up to show up and > show the attributes of a feature. I would not want an image for my layers > because I do not think the user would be able to click on features on the > map and have the attributes of that feature show up (am I correct?). > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243289.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
