hansemannn / titanium-googlemaps

🗺 Use the Google Maps SDK in Titanium
Other
87 stars 26 forks source link

Pin (Annotation) with external image #107

Closed oakleaf closed 6 years ago

oakleaf commented 6 years ago

Hello, I use the Annotation function of this module, but it seems it's not possible to use external images as pin-image.

I have specified an external image from our server, which works in the browser (ofcourse), but it seems that if we try to use something that's not included in the apps resources folder, it defaults to the red pin.

Is it possible somehow to add an external image as pin image? If not, this is a feature request.

Thanks!

hansemannn commented 6 years ago

Sorry, not supported. Just download the image using the Ti.Network.HTTPClient and reference the local URL.

oakleaf commented 6 years ago

This wont be possible since we will use alot of different images as pins. Is it possible to have this added in the next version? It would help us alot, our whole usage is just about showing faces on the map which isnt possible right now(?) because of this. Im not sure how to ask for a feature, can I help in some way?

hansemannn commented 6 years ago

You can do a pull-request to add this feature, but it is not currently planned to do any custom code via open source request.

oakleaf commented 6 years ago

Sorry, I just found out about the customView which was Exactly what I wanted.