Hi,

On 9/14/07, hzhu <[EMAIL PROTECTED]> wrote:
> I do specify for ViewContext <BoundingBox SRS="EPSG:26986" minx="..."
> miny="..." maxx="..." maxy=".."/>

Then maybe there is something wrong with your projection file? Can you
post your EPSG26986.js, your context and your config xml files?

http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html?bbox=-180,-90,90,180
> doesn't get exactly as
> http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html.

And what about [1]? Because this is the original extent of the map
(lower left lon, lower left lat, upper right lon, upper right lat)

> And when you mouse over the map of
http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html?bbox=0,0,50,50
> (0,0) and (50, 50) doesn't seems to be the bounding box of the map.
>
> I know openlayer map image expand 1/2 to both North, West, South, East for
> the purpose of tiling/catching.  But this doesn't seems like the reason.

It is the reason. 0,0,50,50 is a portrait oriented rectangle, while
the map is landscape oriented. And Mapbuilder zooms exactly to the
next valid resolution, which will be larger to the north and south
than the bbox. The behaviour of Mapbuilder is correct.

If you really need to zoom to an arbitrary extent, you can build a
custom widget that uses an OpenLayers hack as described in [2].

Regards,
Andreas.

[1] 
http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html?bbox=-180,-90,180,90
[2] http://www.nabble.com/Allowing-zoom-to-arbitrary-extents-in-OL-t4406990.html

-------------------------------------------------------------------------
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