This project has moved and is read-only. For the latest updates, please go here.

AjaxMap Questions?

Topics: Web Controls
Jun 29, 2007 at 11:18 AM
Dear all,

I am a new sharpmapper. I have some questions about Ajax example. According to the code "ajax.aspx" in DemoWebForm package, where can I find the functions from these lines:

var mousePos = SharpMap_GetRelativePosition(event.clientX,event.clientY,obj.container);
-- where is the function "SharpMap_GetRelativePosition(....)"

var pnt = SharpMap_PixelToMap(mousePos.x,mousePos.y,obj);
-- where is the function "SharpMap_PixelToMap(.....)"

field.innerHTML = "Current map center: " + obj.GetCenter().x + "," + obj.GetCenter().y;
--where is the function "obj.GetCenter().x "

I tried to search up these functions but I couldn't find one...

Thank you in advance.