Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom marker icon not showing up on iOS #68

Open
anibarro opened this issue Jan 8, 2020 · 3 comments
Open

Custom marker icon not showing up on iOS #68

anibarro opened this issue Jan 8, 2020 · 3 comments

Comments

@anibarro
Copy link

anibarro commented Jan 8, 2020

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!

@cookieguru
Copy link

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

@patrykmol
Copy link
Contributor

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

@anibarro
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants