gMapServices

Version 1 by Arturo Zambrano
on Nov 28, 2014 13:26.


 
compared with
Current by Arturo Zambrano
on Nov 28, 2014 13:53.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

  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}

© Copyright 2018 ICEsoft Technologies Canada Corp.