Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where to put onViewChange event

1 REPLY 1
Reply
Message 1 of 2
bjeffers
261 Views, 1 Reply

Where to put onViewChange event

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!
1 REPLY 1
Message 2 of 2
cmy-cjz
in reply to: bjeffers

在 viewerfiles/ajaxmappane.templ
function OnMapRequested(reqResp, scale, centerX, centerY)
{
....
}

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report