Infrastructure Map Server Developer

Infrastructure Map Server Developer

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

Where to put onViewChange event

81 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 (81 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)
{
....
}
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

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