Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
bjeffers
Posts: 14
Registered: ‎06-25-2007
Message 1 of 2 (78 Views)

Where to put onViewChange event

78 Views, 1 Replies
08-21-2008 02:01 PM
I am using javascript to turn layers off when another is selected & vice versa.

I believe I have figured everything else about the onViewChange event except which file to write it in. mapframe.php, mainframe.php, external aspx file, etc? Can anyone help me? Thanks!
New Member
cmy-cjz
Posts: 1
Registered: ‎09-06-2008
Message 2 of 2 (78 Views)

Re: Where to put onViewChange event

09-06-2008 10:42 PM in reply to: bjeffers
在 viewerfiles/ajaxmappane.templ
function OnMapRequested(reqResp, scale, centerX, centerY)
{
....
}
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.