mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 918 forks source link

IOS map doesnt render #2370

Closed Ross-Rawlins closed 6 years ago

Ross-Rawlins commented 6 years ago

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

OS: (check one with "x")

cordova information: (run $> cordova plugin list)

com-sarriaroman-photoviewer 1.1.17 "PhotoViewer"
com.googlemaps.ios 2.7.0 "Google Maps SDK for iOS"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-dialogs 2.0.1 "Notification"
cordova-plugin-email-composer 0.8.15 "EmailComposer"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-google-analytics 1.8.3 "Google Universal Analytics Plugin"
cordova-plugin-googlemaps 2.3.8 "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-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-sqlite-storage 2.3.2 "Cordova sqlite storage plugin"
es6-promise-plugin 4.2.2 "Promise"
mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"
phonegap-plugin-push 2.2.3 "PushPlugin"
uk.co.workingedge.phonegap.plugin.launchnavigator 4.2.1 "Launch Navigator"

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.7.0
@ionic-native/google-maps : ^4.8.2

Current behavior: On iPhone X the map loads up with no bugs and displays my markers and shows the google icon but the map itself does not display.

Expected behavior: The map should render the world,

Screen capture or video record:

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

CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/3191DA34-0C0C-40EB-97AF-9CDBAC124DE8/Modern Marketing Coach.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/3191DA34-0C0C-40EB-97AF-9CDBAC124DE8/Modern Marketing Coach.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/3191DA34-0C0C-40EB-97AF-9CDBAC124DE8/Modern Marketing Coach.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'

Its relating to this issue but these solutions dont work

https://stackoverflow.com/questions/47236769/failed-to-load-optimized-model-googlemaps-sdk-ios
wf9a5m75 commented 6 years ago

Please share your code

wf9a5m75 commented 6 years ago

If you are talking about gray map, check out here. https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/troubleshootings/graymap/README.md

Ross-Rawlins commented 6 years ago

That link resolved my issue thanks