pmapper 2 uses XMLHttp requests (now also called AJAX) for various
operations (all the files 'x_*.php' and xmlhttp.js).

But it's sometimes a bit difficult to debug. And sometimes a synchronous
request would be a bit more appropriate than the async AJAX.

Armin

> --- Urspr?ngliche Nachricht ---
> Von: "Gambin Dejan" <[EMAIL PROTECTED]>
> An: "Armin Burger" <[EMAIL PROTECTED]>
> Kopie: <[EMAIL PROTECTED]>
> Betreff: RE: Combo box for attribute searching
> Datum: Thu, 10 Nov 2005 09:44:52 +0100
> 
> Thanks very much for the AJAX stuf. I didn't go in details untill now
> and it seems like very good technique. I didn't even realize that ka-Map
> is done using Ajax. Anyway, what do you think about the AJAX aproach in
> web mapping applications? Is it very difficult to implement? What are
> the pros/cons? For which type of data maps should it give a better
> preformance?
> 
> As it is interesting to me, I think I wil give it a try and use it for
> attribute searching..if nothing else, it will be a good training
> 
> regards, dejan
> 
> > -----Original Message-----
> > From: Armin Burger [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, November 09, 2005 6:58 PM
> > To: Gambin Dejan
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Combo box for attribute searching
> > 
> > 
> > The attribute search is a wider field for customizations. The 
> > provided 
> > functionality is quite generic, but it is always a bit 
> > difficult to keep 
> > things generic and flexible and straightforward.
> > 
> > You can extract the values from the dbase file via the DBF 
> > functions of 
> > PHP. Would be somewhat easier/faster for PostGIS layers. Or 
> > you can use 
> > an AJAX approach like for GOOGLE Suggest (mainly for PostGIS).
> > 
> > But in all these cases you will probably have to define the settings 
> > explicetly for each layer where you want these kind of special 
> > functionality.
> > 
> > Armin
> > 
> > Gambin Dejan wrote:
> > > Hi,
> > > 
> > > I would like to modify/improve the searching capability so 
> > that I can 
> > > fill the search box with the attibutes from for example 
> > shapefile dbf 
> > > instead of typing the name of for example city. But I would 
> > like to do 
> > > it in a way it can be customized maybe by some parameters so that I 
> > > can set if I want the "search box" or "combo box 
> > populated", maybe on 
> > > a layer level?
> > > 
> > > Any suggestions welcome...
> > > 
> > > regards, dejan
> > > 
> > > 
> > 
> 

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen f?r GMX Partner: http://www.gmx.net/de/go/partner

Reply via email to