[Chameleon] LocateByAttribute usage note

Delfos, Jacob Jacob.Delfos at maunsell.com
Thu May 4 19:37:29 EDT 2006

Hi Jimmy,

The widget contains a copy of the function that was used by the
BoundingBoxPopup widget, which does the zooming. However, this widget
does not need to be in the template in order for LocateByAttribute to

In UpdateMap.php, around line 180, some widgets are included
automatically on the basis of which commands are encountered. I am not
sure exactly why the BoundingBoxPopup widget needs to be loaded when
this command is encountered.

You should not be running into problems, unless if you actually
physically removed files, preventing them from being included. If you
still have issues, please let me know what you PHP log is saying, or
which javascript errors show up.




> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org 
> [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Jimmy Lam
> Sent: 4 May 2006 18:39
> To: chameleon at lists.maptools.org
> Subject: [Chameleon] LocateByAttribute usage note
> Hi,
> I was having a problem with the LocateByAttribute widget where it 
> wouldn't zoom to the feature after a successful query. There is no 
> mentioning of this in the usage text file included or mailing list 
> archives but LocateByAttribute widget makes use of the BoundingBoxPop 
> NAV_CMD called ZOOM_BBOX. This means the presence of that widget is 
> needed to set the bounding box or it will just retain its current 
> extents. Having a Chameleon app in CWCJSAPI mode will work too.
> Most people will already know this, but I thought this might be worth 
> mentioning in future documentation.
> Regards,
> Jimmy Lam
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

More information about the Chameleon mailing list