View Source

h2. Overview

Displays a pop-up window that can display either straight text information, or nested html code. If placed within a gMap, it will render at the locations given by its latitude and longitude attributes. If it is placed inside an ace:gMapMarker, it will bind to that marker and move to whatever location it occupies. The content of the window can be specified via the {{content}} attribute or by nesting arbitrary components inside of this tag.


{tip}See the ICEfaces Showcase [Live Demo|http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=gMapInfoWindowBean] of this component, complete with source code.{tip}

h2. Getting Started
{code}
<ace:gMap id="gMap" style="width: 675px; height: 500px" latitude="0" longitude="0" >
<ace:gMapInfoWindow content="${gMapInfoWindowBean.content}" longitude="0" latitude="0" />
</ace:gMap>
{code}

h2. Attributes
{tip:title=TagLib Documentation}

This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available [here|http://www.icefaces.org/docs/v4_latest/ace/tld/ace/gMapInfoWindow.html].
{tip}

{panel}
The *longitude* for the window, will be overridden if the component is the child of a marker.
{panel}
{panel}
The *latitude* for the window, will be overridden if the component is the child of a marker.
{panel}
{panel}
The text *content* to be displayed within the info window.
{panel}