[mapguide-users] How to tell if map has been loaded?

Maciej Skorczewski maciej.skorczewski at procad.pl
Wed Dec 6 02:26:09 EST 2006


hi Jackie !

you can use
parent.ViewerFrame.mapFrame.GetScale() to check that scale is on.When 
map is load value is !=0 or !=''

bla=parent.ViewerFrame.mapFrame.GetScale();
if(bla!=0)
{
  ok.map is ready!
}
else
{
loading...
}


i use this solution

have anybody another solution?

Maciej

Jackie Ng napisał(a):
> Hi all,
>  
> Is there a programmatic way to determine if a map has been loaded? Like 
> a map loaded event/callback?
>  
> What I want to do is load a map and then place a symbol at a certain 
> location, but in that exact order. I don't want be querying the map data 
> as it is being loaded.
>  







More information about the Mapguide-users mailing list