Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
14 Posts
0 Kudos
Registered: ‎06-25-2007
Post 1 of 2

Where to put onViewChange event

84 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
1 Posts
0 Kudos
Registered: ‎09-06-2008
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!