Help Creating Waypoints

Sent by you:

I am trying to create a prototype in that will allow me to simulate waypoints being dropped on a map. I am currently using $touchx and $touchy formulas with variables to dynamically place my waypoints on my map. However, once I add pinch, rotate, and drag actions to the map container, the waypoints won't place correctly. I assume I need to use some sort of formula and variable(s) to track my pinching/scaling and bind that to the x and y coordinates of my map container. Can anyone assist me in doing this?