Mapview AddEventListener longpress Latitude and Longitude

You must Login before you can answer or comment on any questions.

Has anyone been able to get the lat and long from the 'longpress' on the mapview. in debug mode I get the x,y of the map. I am basically trying to achieve the drop pin process.

mapView.addEventListener('longpress', function(e) { Ti.API.info(e); });

2 Answers

Looking at the API (Ti.Map.View) I don't see that longpress is listed as an event. While it may fire, it isn't listed as passing mapview specific events.

— answered 10 months ago by Stephen Feather
answer permalink
4 Comments
  • It strange, they said they would implement the longpress into the 1.8 September release. I guess its still a bug. How in the world could you create a drop pin in the mapview? Also FYI people this isn't int the KitchenSink.

    — commented 10 months ago by Chris Berry

  • It strange, they said they would implement the longpress into the 1.8 September release

    It has been implemented for a number of other object, just not for that one.

    Also FYI people this isn't int the KitchenSink.

    I'm confused by this statement in this context.

    — commented 10 months ago by Stephen Feather

  • What confusing about it? I am saying an example of mapview longpress events are not in the KitchenSink example. What object if any has longress implemented for? I heard or seen any?

    — commented 10 months ago by Chris Berry

  • Show 1 more comment

OK so you can’t help, that's all you had to say. I don't need a failed attempt of a dissertation or argument on a Q & A page.yawn you bore me.

Your Answer

This question has been locked and cannot accept new answers.