'point2' => array(0.000, 0.000), // One of the vertex coordinates.
'style' => array(), // Style to use.
),
array(
'type' => 'encoded_line',
'points' => 'icx~FfigvOt~CsnB~Vo`G~aDqnBp`@chB', // a series of points, encoded
'levels' => 'BBBBB', // zoom level for each point, encoded
'numLevels' => 18, // derived from the encoding algorithm
'zoomFactor' => 2, // derived from the encoding algorithm
'style' => array(),
),
array(
'type' => 'encoded_polygon',
'polylines' => array(
array(
'points' => 's{r~FnwcvO`zB{qHa}Fa`E~aC|rN',
'levels' => 'BBBB',
'numLevels' => 18,
'zoomFactor' => 2,
),
),
'style' => array(),
),
);
</pre>
</dd>
<dt>Notes:</dt>
<dd></dd>
<dd><p>For both <strong>encoded_line</strong> and <strong>encoded_polyline</strong>, the 'points', 'levels', 'numLevels', and 'zoomFactor' should be generated using the <em>gmap_polyutil_polyline()</em> function in <em>gmap_polyutil.inc</em>. To use this, pass an array of points into the function:</p>