[OpenLayers-Dev] InfoWindow

Tim Schaub tschaub at opengeo.org
Thu Jun 25 14:29:08 EDT 2009


Hey-

Sam Mor wrote:
> Hi Guys
> We Would like to ask you a question:
> do you have InfoWindow or infobox ( it's what google call it) ?
> when u use openInfoWindow it display a box with information on the map
> 

OpenLayers.Popup (and subclasses) provide a ui element that displays 
whatever content you like and is (or can be) anchored to a particular 
location on the map.

> 
> if yes , please provide us with example or ...
> 

http://openlayers.org/dev/examples/select-feature-openpopup.html

The content for the popup is up to you to generate.

For an example where some information related to map features is 
requested from the server, see the following:

http://openlayers.org/dev/examples/getfeatureinfo-control.html

The returned content could be used in a popup.

Tim

> thanks
> Regards
> Sam
> 
> 
> 
>       Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
> Show me how: http://au.mobile.yahoo.com/mail
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Dev mailing list