Search
Manfred Meier
m.meier at SPIEKERMANN.DE
Mon Aug 21 00:41:15 PDT 2006
Hi K S,
in short:
- add a form to your html page,
- your action url is a mapserver call with mode=itemquery and you have
to set a qlayer=... and qstring=...,
- I think, that you have to use "QUERYMAP" in the mapfile for a
highlighted feature,
- your template for the query can include an IMG-Tag with mode=map and
mapext=[shpext] to center to the feature,
Look at the appended picture: I have two iframes and a form. When I
enter the name o a polygon in text field then in the main iframe (left)
the shape is hilited and in the right iframe there is shown data from
the dbf-File and a centerd little map.
Just a little test.
Manfred
K S schrieb:
> Hi everyone,
> How could I add a search field in my map's html page?Any visitor to
> my site (created with mapserver) could fill in a search field the name
> of a feature which is included in the map shown. Then I would like to
> center on this feature in the map.
> Alternatively I would like to show more information about this feature.
> Any ideas how can this be possible?
>
> Thank you in advance
>
> ------------------------------------------------------------------------
> Χρησιμοποιείτε Yahoo!
> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την
> καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
> http://login.yahoo.com/config/mail?.intl=gr
More information about the MapServer-users
mailing list