/* ... */
Encoding.decodePath = function (encoded, precision) {
if (checkAvailability(GoogleMaps.getPluginRef(), null, GoogleMaps.getPluginName()) === false) {
throw new Error('cordova-plugin-googlemaps is not ready. Please use platform.ready() before accessing this method.');
}
return GoogleMaps.getPlugin().encoding.decodePath(encoded, precision);
};
/* ... */
return GoogleMaps.getPlugin().encoding.encodePath(path);
/* ... */
Expected behavior:
Returns ILatLng[]
Fix:
The commit which fix this bug seems not to be include in the last release (The last release on your repository is from January and the commit is from April).
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
package.json:
Current behavior: I have the same issue than #138 :
When I call
Encoding.decodePath()
I have an error :node_modules/@ionic-native/google-maps/ngx/index.js
:Expected behavior: Returns ILatLng[]
Fix:
The commit which fix this bug seems not to be include in the last release (The last release on your repository is from January and the commit is from April).