-
Notifications
You must be signed in to change notification settings - Fork 23
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
images for annotations #4
Comments
+1 |
@yozef I spent some time last week looking into this, but ran into an issue with image size not getting handled properly when added to the callout. The Mapbox SDK is using a library called SMCallout to create the callouts. Maybe it is having an issue with the Ti Proxy view being passed to it. |
I may have to start implementing this module in the coming weeks for a released app, I'll try to take a look as well... |
Hi, Any luck with images as annotations? |
Is there a new status? Maybe beta? :-) |
I made a HUGE workaround by actually removing the whole module and using Mapbox's JS API that I've implemented inside a webview. It allows me to use the whole API (including images for annotations) and still interact with titanium using Ti.App.fireEvent("app:eventName"); It works surprisingly well. |
Ok, thanks. |
For an annotation image, replace the function above in /Classes/ComPolancomediaMapboxView.m
Note that you can now make something like this
Attention: You must paste the imageUrl without leading "/" :-) |
Hey @maikkley, how did you compile for 3.5.0+ (64-bit)? |
@Xaynder Is there any chance you are able to share your work? |
|
Updating to 64 bit would make a great PR :) |
Tried your steps exactly. Didn't work. Did you let xcode update project to preferred settings?
|
I would see, that i make a pull request on this weekend. :-) Edit: Maybe tonight :-) |
:'( eagerly awaiting a PR for 64-bit support! |
Sorry, i have not configurated git in Titanium Studio. I am on the way, but it is the first time, that i use github to fork and make a pull request :-) |
@nitrag awesome, will check out the PR, thanks |
So, i hope that is the right way i create a PR :-) |
This is apparently in the most recent build although the images aren't showing for me. |
I have modified my module to much, that i can't upload it or make a PR. looks like:
and it works for me. |
No description provided.
The text was updated successfully, but these errors were encountered: