Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have basic WMS web map showing parcels and points layer which representing buildings of parcel.Then I want to add building images for each and every point. Then when a user clicks on a point image should appear as a pop up window.

I am using OpenLayers 2.10 Beginner's Guide book and can't find any method to do the above thing.

Is this possible with open layers? If so please give me some advise or some links to help me. [All layer are in WMS form and i am using geoserver and tomcat.]

Thanks lot for your valuable time.

share|improve this question

You need to make a getfeatureinfo request and then display the result in a popup. The basics of this are shown in this example. Once you have this working with your data you will want to format the information returned by the getfeatureinfo request so that it displays the image GeoServer provides a templating language that will allow you to do this - see this tutorial for more details and an example.

share|improve this answer
Thanks for your answer,i will try – sacprasanna May 4 '12 at 14:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.