ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

Can't compile Googlemaps create doesn't exist #105

Closed gmosornoza closed 5 years ago

gmosornoza commented 5 years ago

I'm submitting a ... (check one with "x")

If you choose 'problem or bug report', please select OS: (check one with "x")

cordova information: (run $> cordova plugin list)

card.io.cordova.mobilesdk 2.1.0 "CardIO"
com-sarriaroman-photoviewer 1.1.18 "PhotoViewer"
cordova-admob-sdk 0.17.0 "AdMob SDK"
cordova-plugin-admob-free 0.17.2 "Cordova AdMob Plugin"
cordova-plugin-aes256-encryption 1.1.0 "AES256"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-googlemaps 2.4.6 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 1.1.19 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-request-location-accuracy 2.2.3 "Request Location Accuracy"
cordova-plugin-screen-orientation 3.0.1 "Screen Orientation"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.4.0 "SocialSharing"
cordova-plugin-x-toast 2.6.2 "Toast"
cordova-promise-polyfill 0.0.2 "cordova-promise-polyfill"
cordova-sqlite-storage 2.3.2 "Cordova sqlite storage plugin"
cordova.plugins.diagnostic 4.0.8 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
onesignal-cordova-plugin 2.4.1 "OneSignal Push Notifications"
phonegap-plugin-barcodescanner 8.0.0 "BarcodeScanner"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

@ionic-native/core": "^4.16.0", "@ionic-native/google-maps": "^4.15.0",

Current behavior: Can't compile. It show me this error:

typescript: C:/Sources/IonicProjects/dp2/src/pages/delivery-address/delivery-address.ts, line: 194 Property 'create' does not exist on type 'typeof GoogleMaps'. [app-scripts] L194: this.map = GoogleMaps.create('map_canvas', mapOptions);

Expected behavior:

Proceed with compilation Screen capture or video record:

Related code, data or error log (please format your code or data):

The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.
wf9a5m75 commented 5 years ago

Sorry for my mistake. Please reinstall @ionic-native/google-maps@4.15.1.

gmosornoza commented 5 years ago

Thanks!