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: 

what is the API method for the popup function Reload??

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
273 Views, 4 Replies

what is the API method for the popup function Reload??

I want to have a function activated in my javascript, that is the same
function as the popup menu Reload function, what is the method called? it is
not in API, right?
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Hi,

You can call MGMap.setUrl(..) method to reload the map. This may be able
to resolve your previous problem.

Haiyun

"Meng Li" wrote in message
news:A2AF9A6B3A0C97DBD1A3DFC38B71B5A9@in.WebX.maYIadrTaRb...
>
> I want to have a function activated in my javascript, that is the same
> function as the popup menu Reload function, what is the method called? it
is
> not in API, right?
>
>
Message 3 of 5
getman
in reply to: Anonymous

Would the javascript method Location.reload() fit this purpose?
Message 4 of 5
Anonymous
in reply to: Anonymous

Thanks Haiyun,

I tried with setUrl method, but it gives a reload of a defined mwf file with
definable Viewer parameters, not the url variables transferred from another
page.

Anyhow, thanks again for your tips.

Meng

Haiyun wrote in message
<4C95FD055CB21AA4F8FB6509B0F6B3FC@in.WebX.maYIadrTaRb>...
>Hi,
>
> You can call MGMap.setUrl(..) method to reload the map. This may be able
>to resolve your previous problem.
>
>Haiyun
>
>"Meng Li" wrote in message
>news:A2AF9A6B3A0C97DBD1A3DFC38B71B5A9@in.WebX.maYIadrTaRb...
>>
>> I want to have a function activated in my javascript, that is the same
>> function as the popup menu Reload function, what is the method called? it
>is
>> not in API, right?
>>
>>
>
>
Message 5 of 5
Anonymous
in reply to: Anonymous

MGMap.setUrl() only reload the map,
while Location.reload() load reload the whole html page.

 

Haiyun


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Would
the javascript method Location.reload() fit this
purpose?

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

Post to forums  

Autodesk Design & Make Report