[Chameleon] RE: Locate Widget
Delfos, Jacob
Jacob.Delfos at maunsell.com
Mon May 29 19:04:08 EDT 2006
Hi Sigurjon,
The widget I made is now part of the normal Chameleon distribution, and sits in the 2.4 package. You can download Chameleon 2.4 here:
http://chameleon.maptools.org/index.phtml?page=downloads.html
There's a demo running here, which has the widget:
http://geo.maunsell.com/chameleondemo/index.phtml
The widget is called "LocateByAttribute", and it can sit in the page as an Iframe, meaning it's embedded. Let me know if you run into any trouble with it.
Regards,
Jacob
________________________________
From: Sigurjon Gisli Runarsson [mailto:sjonni11 at gmail.com]
Sent: 29 May 2006 21:41
To: chameleon at lists.maptools.org; Delfos, Jacob
Subject: Locate Widget
Jacob,
Iam in simular situation like Brian. I have been trying to add a find function to my custom Chameleon application and just don't get it to work.
The sample applications work fine with the find-popup window (Canada Gazzett data) but I would like to have the find (search) function on my main application window. There is one good applcation on the net that shows exactly what I am trying to achive
http://www.map.upd.edu.ph/updmap/index.phtml <http://www.map.upd.edu.ph/updmap/index.phtml>
Is the code that you offered to send Brian something that I need? Any help would be great.
Sorry about my english.
Cheers,
Sigurjon G Runarsson
Reykjavik, Iceland
Brian,
I created a widget that does that, but it only works with shapefiles at this
stage. The reason was that I required to know how many objects there are,
and that I only knew how to do that for a shapefile. But perhaps you could
adjust that side of it. The widget allows you to specify which attributes of
which layers are searcheable, creates an iframe with comboboxes for the
layer and attributes, and a searchbox. It shows a list of the searchresults
(with zoom-to links). It works, but it is not thoroughly tested, though.
Let me know if you want me to send you the code.
Regards,
Jacob
-----Original Message-----
From: chameleon-bounces at lists.maptools.org
<http://lists.maptools.org/mailman/listinfo/chameleon>
[mailto:chameleon-bounces at lists.maptools.org <http://lists.maptools.org/mailman/listinfo/chameleon> ] On Behalf Of Brian May
Sent: 22 February 2005 04:25
To: Chameleon
Subject: [Chameleon] LOCATE Widget
What I would like to do is search for attributes in a PostGIS database,
present potential matches, then zoom to a selected record. I am a
beginner with PHP, and I was wondering if anyone had any code samples
and documentation for customizing the LOCATE widget. Another option
would be a custom widget that is not based on the LOCATE widget. I've
been staring at code for hours and trying different things, but not
getting very far. A push in the right direction would be great.
Thanks in advance,
Brian
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org <http://lists.maptools.org/mailman/listinfo/chameleon>
http://lists.maptools.org/mailman/listinfo/chameleon <http://lists.maptools.org/mailman/listinfo/chameleon>
________________________________
* Previous message: [Chameleon] LOCATE Widget <http://lists.maptools.org/pipermail/chameleon/2005-February/001904.html>
* Next message: [Chameleon] Locate layers <http://lists.maptools.org/pipermail/chameleon/2005-February/001909.html>
* Messages sorted by: [ date ] <http://lists.maptools.org/pipermail/chameleon/2005-February/date.html#1908> [ thread ] <http://lists.maptools.org/pipermail/chameleon/2005-February/thread.html#1908> [ subject ] <http://lists.maptools.org/pipermail/chameleon/2005-February/subject.html#1908> [ author ] <http://lists.maptools.org/pipermail/chameleon/2005-February/author.html#1908>
________________________________
More information about the Chameleon mailing list <http://lists.maptools.org/mailman/listinfo/chameleon>
Kær kveðja,
Sigurjón Gísli Rúnarsson
Landfræðingur
Tæknideild Kópavogsbæjar
Fannborg 2
200 Kópavogur
570-1550
More information about the Chameleon
mailing list