Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

is there any infobox available in Openlayers same like google maps infobox google maps infobox

share|improve this question

3 Answers 3

Take a look at this popupMatrix example.

Here's another example.

share|improve this answer

OpenLayers has some different popups, but the most similar to google maps, as CaptDragon suggest, is the OpenLayers.Popup.FramedCloud.

share|improve this answer
    
yes OpenLayers.Popup.FramedCloud is the best one. all the rest are kind of lame. (+1) –  CaptDragon Mar 15 '12 at 20:29

Agree with CaptDragon's comment above as I thought the same thing. So I started to look into other options and found GeoExt (www.geoext.org). Here's a link to an example of their popup solution:

http://api.geoext.org/1.1/examples/popup.html

The nice thing about using this style is that you can use many of the ExtJS capabilities in the popup as well. So, we currently have popups with tabs which allow the user to select different bits of info when one clicks on a point.

We're using GeoExt 1.0 and ExtJS 3.4 presently. GeoExt 1.1 recently came out but there might be an issue with the Tree code and seems like some of the examples are now broken. Still, I used the popup without incorporating GeoExt further. But, you can also download 1.0 still.

There are other options out there to look into as well. But, GeoExt works fairly well with OpenLayers and one of the reasons I decided to use it for our app.

share|improve this answer

Your Answer

 
discard

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.