Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 945 Bytes

encoding.md

File metadata and controls

38 lines (20 loc) · 945 Bytes

See html formatted version

encoding namespace

google.maps.geometry.encoding namespace

Utilities for polyline encoding and decoding.

Library

geometry

Static Methods

undefined

decodePath(encodedPath)

Parameters: 

  • encodedPath:  string

Return Value:  Array<LatLng>

Decodes an encoded path string into a sequence of LatLngs.

undefined

encodePath(path)

Parameters: 

Return Value:  string

Encodes a sequence of LatLngs into an encoded path string.