OK,
In MapPanelOL.js, at line 351 and 352, default is:
baseLayer = new OpenLayers.Layer.Google( baseLayerName , {type:
baseLayerType,minZoomLevel: 0, maxZoomLevel:19, sphericalMercator:
sphericalMercator }, baseLayerOptions );
objRef.model.map.numZoomLevels = 20;
If I zoom in to max level, I can't see image from satellite. So I have
changed maxZoomLevel = 18 and numZoomLevels = 19, it worked well. By that
way, I have limited max level.
I try change minZoomLevel = 1 (or 2, 5....) and change numZoomLevels too. I
get flowing error :
objRef.model.map.getExtent() has no properties (MapPaneOL.js (line 496))
var bboxOL = objRef.model.map.getExtent().toBBOX().split(',');
and when I zoom, scale text don't change, and wrong.
If I set minZoomLevel = 10 (numZoomLevels = 19, and numZoomLevels = 10), I
get the same message error, and my page only show MapPanel, it don't show
menubar, cursortrack, and scate text.
--
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