One more problem. Maybe i'm trying to use it in wrong way but here's what i
do:



> config.objects.mainMap.setWindowWidth(newWidth);
> config.objects.mainMap.setWindowHeight(newHeight);                            
>                                                 
> config.objects.mainMap.callListeners("refresh");
> config.objects.reset.select();
> 

I calculate new width and height for mainMap (so i can dynamically resize
map window). Then i call refresh to make the change. Now i reset the view.
Everything happens as it should except the "loading bar" keeps saying there
are 1 or 2 layers to be loaded. And it doesn't go away untill i refresh the
page. Are my actions incorrect?
-- 
View this message in context: 
http://www.nabble.com/Mapbuilder-and-tiling-support-tp14149098p15019009.html
Sent from the MapBuilder Devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to