is there any infobox available in Openlayers same like google maps infobox google maps infobox
|
OpenLayers has some different popups, but the most similar to google maps, as CaptDragon suggest, is the OpenLayers.Popup.FramedCloud. |
|||
|
|
Take a look at this popupMatrix example. Here's another example. |
||||
|
|
|
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. |
|||
|
|