View Source

h2. Overview

Allows the user to create a shape of their choosing on the map.

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

h2. Getting Started
{code}
<ace:gMap id="gMapOverlay" style="width: 675px; height: 500px">
<ace:gMapOverlay shape="${gMapOverlayBean.shape}" points="${gMapOverlayBean.points}"/>
</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/gMapOverlay.html].
{tip}

{panel}
The name of the *shape* overlay you want to create. Valid entries are: 'Line', 'Polygon', 'Rectangle', 'Circle' (Case insensitive).
{panel}
{panel}
The *points* that the service is applied to. Format is (lat,long) or, for Directions and Distance only, a standard address. Separate points with ':'.
{panel}