View Source

h2. Overview

An access point to the services portion of the api and will return information about the specified points, such as maximum zoom, or height. Directions are also specified through this subcomponent.

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

h2. Getting Started
{code}
<ace:gMap id="gMapDirections" style="width: 675px; height: 500px">
<ace:gMapServices name="Directions" points="${gMapServicesBean.points}" options="travelMode:'${gMapServicesBean.travelMode}',${gMapServicesBean.options}" div="directionsOut"/>
</ace:gMap>
<div id="directionsOut"></div>
{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/gMapServices.html].
{tip}

{panel}
The *name* of the service type you want to create. Valid entries are: 'Directions', 'Elevation', 'MaxZoom', 'Distance' (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}
{panel}
Id of the *div* you with to set text directions in. null or none to clear.
{panel}