Custom marker Displaying in Emulator but not Device


#1

Hi I’m using ionic 3.14.0 and native googlemaps plugin 4.3.2. Here’s the code we’re using to define the marker.

This works on our emulator for ios but not our iphones.

Thanks for any help!


let marker: MarkerOptions = {
        animation: GoogleMapsAnimation.BOUNCE,
        position: {lat: 3, lng: 3},
        icon: './assets/imgs/icon.png'
};

#2

I was able to fix this by adding changing the icon path to

      url: "www/assets/imgs/icon_leafPointer_64x48.png",