Infrastructure Map Server Developer

Infrastructure Map Server Developer

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

Where to put onViewChange event

83 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 (83 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
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.