[mapguide-users] ZoomToView

veer-singh veer-singh at hcl.com
Mon Sep 3 03:52:03 PDT 2012


Hello 

Hello, 


I am into code where i am passing x and y values as a query string to my
application 

This is my viewerframe src 
<frame id="viewerFrame" frameborder="no"
marginwidth="0" marginheight="0"
scrolling="no"
src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"></frame>        

Now when i am reading those values in my application and excuting
window.top.viewerFrame.mapFrame.ZoomToView(72452680, 463636363, 5000, true); 

it is saying mapFrame is undefined .... Please suggest me a way 

Thanks 



-----
VEER HCLTECH,INDIA
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/ZoomToView-tp4999411.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list