-
Notifications
You must be signed in to change notification settings - Fork 918
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
marker.setIcon (*base64Image*) crashes ios version #399
Comments
Could you show me the whole error log? |
Yes, of course. Sorry that I didn't earlier. Just finished the workaround when I thought that this might interest you.
If you need more data, don't be afraid to ask - I might not be the best programmer, but I will try my best to assist you. |
Thank you for your report.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Masashi! First, many thanks for the awesome plugin. It is fast and works flawlessly - except for the error I just found:
When trying to set the icon of a marker to an base64 Image using the setIcon command, the app is terminated with an error message:
NSUnknownKeyException: this class is not key value code-compliant for the key url
The image was generated using the canvas.toDataUrl command.
Since there are no labels, I am writing text on my markers using that method.
I got my app running again using a workaround:
Everytime I want to change the icon, i remove the marker and create a new one at the same place using a different image.
That works, because setting the icon on creating doesn't pose any problem, even though I am using the same images when setting the icons.
On android, that problem doesn't exist, everything works fine.
Under iOS, I am developping unter Xcode 6.1.1 and Yosemite 10.10.1
I use the plugin with cordova and the ionic framework.
The text was updated successfully, but these errors were encountered: