- Could it be that you're importing Geocoder a second time in your code?
- It may be the case that you have to add
declare var google
to your component. I haven't used native-google stuff, just regular google maps, and declaring var google is necessary. try declaring your nativeGeocoder as public as opposed to private.
did you run, from the command line,
ionic plugin add cordova-plugin-nativegeocoder
andnpm install --save @ionic-native/native-geocoder
?
↧
How do I use Reverse Geocoding?
↧