C_mqNvxq`@
print $eline->{levels}; # POP
# in Javascript, assuming eline was encoded as JSON:
# ... load GMap2 ...
var opts = {
points: eline.points,
levels: eline.levels,
nu
num_levels => int($num_levels),
zoom_factor => int($zoom_factor),
};
You can then use the L<JSON> modules (or XML, or whatever) to pass the encoded
values to your Javascript application for use
/GoogleMaps/EncodePolyline/PolylineEncoderClass.html>
(JavaScript implementation),
L<http://www.usnaviguide.com/google-encode.htm> (similar implementation in perl),
L<Geo::Google>,
L<JSON::Any>
=cut