cordova-plugin-googlemaps: The function addMaker killed the app

I’m submitting a … (check one with “x”)

  • [x ] question
  • [x ] any problem or bug report

OS: (check one with “x”)

  • [ x] Android
  • [x ] iOS

cordova information: (run $> cordova plugin list)

cordova-plugin-googlemaps 2.3.8 "cordova-plugin-googlemaps"

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.9.1",

Current behavior: the function addMaker kill the app without throw any errors when I used the MakerIcon. when I used the default maker, it worked perfectly

Expected behavior: can add maker to the map without kill the app

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

 setMarker() {
    this.markersInit = false;
    this.markers = [];
    this.selectedMarker = '';
    this.map.addMarkerSync({position: this.points[0].position, icon: {
      url: 'assets/imgs/G-icon-grey.png',
      size: { width: 32, height: 45 }
  }})

Giving much information, you are waiting time is less.
Thank you for your cooperation.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Sorry for delay, it was busy. I probably found the problem. But I haven’t fixed it perfectly yet.

Sorry for your inconvenience.