[mapguide-users] How to tell if map has been loaded?
Willem Schwarte
willem at giskit.nl
Wed Dec 6 05:07:46 EST 2006
Is this different then using the mapinit variable ?
I mean, is mapinit set to true before the scale is active?
Willem
-----Oorspronkelijk bericht-----
Van: Maciej Skorczewski [mailto:maciej.skorczewski at procad.pl]
Verzonden: woensdag 6 december 2006 8:26
Aan: users at mapguide.osgeo.org
Onderwerp: Re: [mapguide-users] How to tell if map has been loaded?
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.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide-users
mailing list