[mapguide-users] Problem About load task pane before Map

2009-12-08 Thread syncro balon
Hi,Plz can you tell me who resolve this problem: the task pane is loaded before Map (in the task pane i have some functions based on the Map) that why I have error in task Pane. But if I refraich My task Pane after loading Map it work fine.

Re: [mapguide-users] Problem About load task pane before Map

2009-12-08 Thread Jackie Ng
What's probably happening is that your task pane code is interacting with the map before it has been fully initialized. What you need to do, is to listen for map initialization in the map frame. This code sample shows how to do this: