tabris-plugin-maps icon indicating copy to clipboard operation
tabris-plugin-maps copied to clipboard

Custom marker icon not showing up on iOS

Open anibarro opened this issue 6 years ago • 3 comments

Hi,

I would like to add custom icons to markers on iOS but I cannot make it work. I've tried getting the path with tabris,app.getResourceLocation(filepath) and manually with tabris.fs.filesDir, but it only works on Android, on iOS I get nothing, just the default marker icon seems to work when I set the image to null. const marker = new esmaps.Marker({ position: [m.c[0], m.c[1]], image: this.getMarkerImage(m) })

Am I missing something iOS specific? Thanks!

anibarro avatar Jan 08 '20 15:01 anibarro

Have you cloned this repo and ran the example? Does that work for you?

cookieguru avatar Jan 09 '20 07:01 cookieguru

Hi @anibarro. I can confirm the issue. I will let you know when it's fixed.

patrykmol avatar Jan 17 '20 09:01 patrykmol

Thanks! @cookieguru I have problems now with my Macos machine, so I couldn't run the example u_u

anibarro avatar Jan 17 '20 09:01 anibarro