i am working with the simple app Beta Here
The application is using leaflet plugins/api....
User draw a line(poly-line) on the map/image and then enter the distance between two points....
Working
Getting the input from user is to set the reference for that particular picture which will be used later on....now after clicking button "load work place" will led user to new view where he/she can draw or put rectangles on the base of reference distance we have taken first .....
Problem
Sorry for a little long script, but there anyone can find the distanceTo() function and the values i am passing....
أكثر...
The application is using leaflet plugins/api....
User draw a line(poly-line) on the map/image and then enter the distance between two points....
Working
Getting the input from user is to set the reference for that particular picture which will be used later on....now after clicking button "load work place" will led user to new view where he/she can draw or put rectangles on the base of reference distance we have taken first .....
Problem
sometimes the distance/area of any shape drawn (according to reference distance) is perfect, sometimes nearly correct, sometimes incorrect and sometimes foolishly incorrect ....that means different distances for different image parts....
Script
Sorry for a little long script, but there anyone can find the distanceTo() function and the values i am passing....
If someone have any idea about this problem (and i know i am missing some thing or lack of knowledge), please help or any reference will be appreciated.... Thanks for your time
أكثر...