Packagenet.duncanhall.gmaps
Classpublic class PolylineEncoder
InheritancePolylineEncoder Inheritance Object



Public Methods
 MethodDefined By
  
encodeLevels(levels:Array):String
[static] Converts a list of level values into a single encoded string
PolylineEncoder
  
fromPoints(points:Vector.<LatLng>):String
[static] Takes a list of com.google.maps.LatLng points and encodes them into a single string, for use with the Polyline.fromEncoded() method.
PolylineEncoder
  
fromPolyline(vertices:IPolyline):String
[static] Converts a com.google.maps.interfaces.IPolyline object into an encoded string representation for use with the Polyline.fromEncoded() method.
PolylineEncoder
Method Detail
encodeLevels()method
public static function encodeLevels(levels:Array):String

Converts a list of level values into a single encoded string

Parameters

levels:Array — The list of uint level values to encode.

Returns
String — The encoded levels.
fromPoints()method 
public static function fromPoints(points:Vector.<LatLng>):String

Takes a list of com.google.maps.LatLng points and encodes them into a single string, for use with the Polyline.fromEncoded() method.

Parameters

points:Vector.<LatLng> — The list of points to encode.

Returns
String — The encoded string representation.
fromPolyline()method 
public static function fromPolyline(vertices:IPolyline):String

Converts a com.google.maps.interfaces.IPolyline object into an encoded string representation for use with the Polyline.fromEncoded() method.

Parameters

vertices:IPolyline — The IPolyline object containing the points to encode. return The encoded string representation.

Returns
String