Rob, That too is easy, if you have a spatial database as your backend (PostGIS, MsSqlSpatial, Oracle, DB2). We are doing something very similar on our HUD site. Many of the result sets have a ‘view in map’ link that uses the extents from the objects geometry to make a JavaScript call to re-center the map. If you follow that example, you should easily be able to duplicate the google maps search results.
John _____ From: Rob Booth [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 3:47 AM To: John Cole Cc: [email protected] Subject: Re: [OpenLayers-Users] Google Popup feature layers Thanks John - I'll be looking at that as soon as I get the time :o( Next question - can anybody point me at an example that works like the Google Maps search results? You could search for 'estate agents' in 'London', and be presented with a list of estate agents on the left hand side of the screen, and the popups on the map. I want to present a list of features listed in tabular form, and clicking on the text navigates the map to the feature (popup). Cheers Rob On 31/08/07, John Cole <HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]> wrote: Rob, We are using a WFS server to provide the markers for our points. HYPERLINK "http://hud.uai.com/hudpls/" \nhttp://hud.uai.com/hudpls/ this is running from a spatial database backend and works very well. John _____ From: HYPERLINK "mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED] [mailto:HYPERLINK "mailto:[EMAIL PROTECTED]" \n [EMAIL PROTECTED] On Behalf Of Rob Booth Sent: Friday, August 31, 2007 6:50 AM To: HYPERLINK "mailto:[email protected]" [EMAIL PROTECTED] Subject: [OpenLayers-Users] Google Popup feature layers Hi I've been using the Google-esque Popups (they're great!) but I have a question. My popup layer has over 17000 points, and when loaded as a Text layer, this means that there is a significant load on the browser. Is there an effective way of using the Google popups via some kind of spatial database, so that the requests can be spatially filtered at the server side (by database or geoserver or something) MTIA Rob No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 8/29/2007 8:21 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.13.1/981 - Release Date: 8/31/2007 6:13 AM This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 9/4/2007 10:36 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 9/4/2007 10:36 PM This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
