Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Ionic native googlemaps decodePath() returns undefined

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>