titanium-mapbox icon indicating copy to clipboard operation
titanium-mapbox copied to clipboard

Image Overlay

Open jabele opened this issue 10 years ago • 6 comments
trafficstars

Is there currently the ability to add an image overlay to a map that stays bounded to the map? We do work with festivals who typically have custom maps that they want overplayed on top of real map data. Is that possible with this?

jabele avatar Apr 30 '15 14:04 jabele

https://github.com/amorican/titanium-mapbox-android

nitrag avatar Apr 30 '15 18:04 nitrag

Nitrag...Are you saying that the Android version has this feature to add a custom .jpg or .eps image over the top of a MapBox map? Is that why you linked to your Android build?

jabele avatar Apr 30 '15 18:04 jabele

Oh I'm sorry, pasted this link in the wrong window. Disregard. I kept this window open hoping someone would know the answer because I am curious as well. Sorry!

nitrag avatar Apr 30 '15 18:04 nitrag

Wait. So you want an image, let's say a police car on a highway, to be stuck to a certain Geo Point on the map so that it always stays in that location? Because that's just a standard Annotation. I just added the ability for custom images so you can do that.

nitrag avatar Apr 30 '15 19:04 nitrag

Unfortunately no. Let's say I have a custom map that I created in Illustrator for a Festival with custom drawings on it. I might want to overlay that on top of the map but under the annotations. I would want it to stay anchored to the map background and not change size like the annotations do.

jabele avatar Apr 30 '15 19:04 jabele

Ah OK. So you want a custom map then. Hmm. Well this module supports offline. The data file is in .mbtiles format. If you could find a program to convert your image into geo spatial (perhaps the right term?) Then export as a .mbtiles then you'd be good to go I would think.

I used GIS Portable Basemap Server to create a mbtiles file. But I don't think it can do what I mentioned above. On Apr 30, 2015 3:29 PM, "Jeff Abele" [email protected] wrote:

Unfortunately no. Let's say I have a custom map that I created in Illustrator for a Festival with custom drawings on it. I might want to overlay that on top of the map but under the annotations. I would want it to stay anchored to the map background and not change size like the annotations do.

— Reply to this email directly or view it on GitHub https://github.com/adampax/titanium-mapbox/issues/20#issuecomment-97937360 .

nitrag avatar Apr 30 '15 19:04 nitrag