Thank you very much. I have finished it. But I must change this line:
map.setCenter(bounds, map.getZoomForExtent(bounds));
to
map.setCenter(bounds.getCenterLonLat(), map.getZoomForExtent(bounds));
Thank you again.
--
Nguyễn Đình Toán
-------------------------
Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding -->
chon Unicode (UTF-8). Cam on.
-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users