@vivekh wrote:
I tried to do a decodePath on an encoded path using Ionic native googlemaps (cordova-plugin-googlemaps) in an Ionic 3 app. However, the function returns undefined. Here’s my code:
import { Encoding } from "@ionic-native/google-maps"; ... console.log("decoded path", Encoding.decodePath('{~|mAyquxMhEyF'));
I’m using the cordova-plugin-googlemaps 2.2.0-beta-20180117-2320 (multiple maps version) of the plugin.
Is there something wrong that I’m doing wrong in the above code to get undefined as the response from decodePath method?Thanks for your time.
Posts: 1
Participants: 1