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: 

MapGuide event onMapLoaded problem with Netscape

1 REPLY 1
Reply
Message 1 of 2
Anonymous
226 Views, 1 Reply

MapGuide event onMapLoaded problem with Netscape

My onMapLoaded event handler Javascript function works properly in IE, but
not working with Netscape.

What i am doing is from another web page to activate a MapGuide CFM file
page with url variables as where clause parameters for the map. I noticed
that with Netscape, all MapGuide events are not activated after the initial
loading of the cfm file in which a MapGuide map file is embeded. Only after
the fist load and i click on right-click Reload function that gives me what
are transferred and i wanted. No problem of the events during the first load
for internet explorer, why this difference?

what is a workaround to get rid of this problem? just reload the map again?

Thanks

Meng Li
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Hi,

The reason of this problem is that MapGuide must first load the Plug-in,
then it must load
the observer applet. These two actions execute on separate threads. Thus
when
MapGuide has finished loading and tries to fire the onViewChanged event, the
observer applet may not have finished loading. Thus the onViewChanged event
is
not fired. onBusyStateChanged, onViewChanged, and onViewChanging might
not work properly under Netscape as well when the map is first loaded. I
think the only thing you
can do is try to avoid relying on these events when the map is first loaded
in Netscape.


Haiyun Yang

"Meng Li" wrote in message
news:298FD44C80F406684F8C2E6716842A9A@in.WebX.maYIadrTaRb...
>
> My onMapLoaded event handler Javascript function works properly in IE, but
> not working with Netscape.
>
> What i am doing is from another web page to activate a MapGuide CFM file
> page with url variables as where clause parameters for the map. I noticed
> that with Netscape, all MapGuide events are not activated after the
initial
> loading of the cfm file in which a MapGuide map file is embeded. Only
after
> the fist load and i click on right-click Reload function that gives me
what
> are transferred and i wanted. No problem of the events during the first
load
> for internet explorer, why this difference?
>
> what is a workaround to get rid of this problem? just reload the map
again?
>
> Thanks
>
> Meng Li
>
>
>
>
>

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

Post to forums  

Autodesk Design & Make Report