[Chameleon] Locate Widget
Sigurjon Gisli Runarsson
sjonni11 at gmail.com
Mon May 29 09:40:57 EDT 2006
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
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
------------------------------
- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060529/f863806e/attachment.html
More information about the Chameleon
mailing list