Creating an Interactive map using an Image not google map
I want to create a map view using a static image, so I can enlarge the image, minimize it, and if I click on a speci开发者_开发知识库fic place on the image a message with the clicked place name appear. I'm using titanium for android and iPhone. Is it possible?
Note that I create this map but the problem I have that if I click on the image after enlarge it the message that appear will not be correct because the x and y will differ.
I need to enlarge the image cause it contain very small building.
I hope my Question is clear.
Introduce a scaling factor so that when you increase the image size you can apply the scaling factor to the clicked x and y coordinates which should give you what they would have been on the original image, and then use those when retrieving your message.
if you can pan the image, then you will also need to introduce a panning factor also.
精彩评论