fixed in trunk r3219. Regards, Andreas.
On 8/29/07, Andreas Hocevar <[EMAIL PROTECTED]> wrote: > Hi Huub, > > thank you for your detailled analysis of an obvious shortcoming in the > new release. Can you please file a JIRA ticket on that, so we can keep > track of it? (http://jira.codehaus.org/browse/MAP) > context.setBoundingBox should definitely work as it used to. > > Regards, > Andreas. > > On 8/29/07, huub fleuren <[EMAIL PROTECTED]> wrote: > > 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 > ------------------------------------------------------------------------- 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
