Hey guys!
I'm having trouble. Im making a pathfinding html5 "app". It's using a map. Initially it starts Zoomed-in. When you click a button it scales the layout to 0.6.
After this happens the when the user clicks it's not registering correctly.
dl.dropboxusercontent.com/u/75047616/app23/index.html
Thats a demo of whats happening.
Click on the blue cross to zoom. and then click to see what I mean.
Any help would be greatly appreciated.
Formula for the width is :
distance(Triangle.Pathfinding.NodeXAt(loopindex), Triangle.Pathfinding.NodeYAt(loopindex), Triangle.Pathfinding.NodeXAt(loopindex + 1), Triangle.Pathfinding.NodeYAt(loopindex + 1))
I don't think this is the issue because the physical click isnt registering correctly.