encoding クラス
google.maps.geometry.encoding
クラス
ポリラインのエンコード/デコード用のユーティリティ。
const {encoding} = await google.maps.importLibrary("geometry")
を呼び出してアクセスします。
Maps JavaScript API のライブラリをご覧ください。
静的メソッド | |
---|---|
decodePath |
decodePath(encodedPath) パラメータ:
エンコードされたパスの文字列を一連の LatLng にデコードします。 |
encodePath |
encodePath(path) パラメータ:
|