Closed developerjohan01 closed 6 years ago
Please try the multiple_maps branch version. If it doesn't help, please share the project files on GitHub.
ping
@wf9a5m75 I have not had a chance to try out your suggestion yet. I will give it i try let you know.
NOTE that I am now using BASE64 encoded images for the icon, which is working on all platforms, so this isn't critical for me anymore.
const icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADI... `
Ok. As far as I test, I can not confirm your issue on my side with the multiple_maps branch version. I just keep your issue in mind. Thank you for reporting.
@wf9a5m75 I think this has to do with Ionic Webview.
I updated from Ionic Webview 1.x to 2.x because of a security alert. Then, I have this issue on iOS. I believe the web server has different requirements for fetching a local file on 2.x.
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
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly)Current behavior:
If using
App hangs/crashes in iOS simulator and MarkerIcons are not displayed/used on the device.
The App works correctly in browser and on android.
Expected behavior:
App should show/display the used icon/pin/marker.
I have this problem in my client project and can recreate this problem with a new ionic project and using the sample code from here https://github.com/ionic-team/ionic-native-google-maps/blob/master/documents/README.md plus adding the reference to the icon.
In Xcode the following error messages are displayed Simulator:
Device:
A workaround is to use BASE64 encoded images for the icon. I finally manage to get that working on all platforms.