Hi List,

I would like to messenge a little progress on the apparently changed 
functionality of config.objects.mainMap.setBouningBox(boxarray)


In 1.1 we could use
    config.objects.mainMap.setBoundingBox(  boundingBoxArray  );

this functionality does not work anymore: the function ends in

addListener("bbox", bouningBox);

maybe this listener needs to be implemented?


In the Context class we find in initBbox

1. objRef.map.zoomToExtent(
        new OpenLayers.Bounds(bbox[0],bbox[1],bbox[2],bbox[3]));
2. objRef.setBoundingBox(objRef.map.getExtent().toBBOX().split(','));

the first line really zooms
the second (normal) way doesn't do (refresh?) a zoom

so i'm i good if i use
config.objects.mainMap.map.zoomToExtent(
        new OpenLayers.Bounds(bbox[0],bbox[1],bbox[2],bbox[3]));

now instead of setBoundingBox

or is it a memoryconsuming or 'something reinitializing' work around?



Regards, Huub

-- 
=====================================
Geodan IT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
-------------------------------------
Tel: +31 (0)73 - 692 5151
Fax:  +31 (0)73 - 692 5150
Mobiel:
-------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
E-mail: [EMAIL PROTECTED]
Website: www.geodan.nl
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------






-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to