Hello all...
I´m with a problem with a click in my reference map...I´m using zoomScale in mapscript to do the reference click, like that:
(C#)
mapaObj.zoomScale(__mapScale, __point, mapaObj.width, mapaObj.height, __OriginalExtent,
I calculated the __point like that:
(JS)
y = (map.height * yReferenceClicked) / referenceMap.height;
x = (map.width * xReferenceClicked) / referenceMap.width;
Ok...When I´m in original scale, It´s work great... But when a start to zoom in my Map, the reference click starts to show the wrong place, especially when the click is in the sides of the reference map...
You can see whats happening here :
Try click on the left top side(reference map) ...
Any ideas? Is zoomScale the best way to simulate a reference click??
TY
