Hi Huaining,

On 9/18/07, hzhu <[EMAIL PROTECTED]> wrote:
> I've figured out what's wrong with my zoom to function. The full extent of
> my project is the whole state of Massachusetts, but in the map configure
> file I defined the bounding box to Boston instead of the whole state for the
> ViewContest <BoundingBox SRS="EPSG:26986" minx="..." miny="..." maxx="..."
> maxy=".."/>
>
> This is OK for Mapbuilder 1.0.1, I can easier zoom to other towns using
> "?bbox=..." query string, but for Mapbuilder 1.5 alpha 2, you have to define
> the ViewContest to the full extent.

You can specify

    <displayOutsideMaxExtent>true</displayOutsideMaxExtent>

as property of your MapPaneOL to regain the behavior from Mapbuilder 1.0.1.

>  I bet that's one of the difference of
> open layer map.  In my humble opinion, we should specified this point in
> "User's Guide" document when we finally release this version.

Done, see [1]. Feel free to contribute to this page if you stumble
across changes in the future. Thanks.

Regards,
Andreas.

[1] http://docs.codehaus.org/display/MAP/Upgrading+from+pre-1.5

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

Reply via email to