[OpenLayers-Users] highlight feature (was Two displayProjections on a map)

Jerome A. Wendell jawendell at digitalmapping.com
Thu Jan 10 08:09:44 PST 2013


Rich,

 

Thanks for your quick reply.  I have looked at using WMS and geoserver, but
I am using a hosted web site for the map that I am working on.  Wouldn't I
need access to the server the map is being used on in order to utilize that
approach?

 

Thanks,

 

Jerome

 

 

From: Richard Greenwood [mailto:richard.greenwood at gmail.com] 
Sent: Thursday, January 10, 2013 10:49 AM
To: jawendell at digitalmapping.com
Cc: OpenLayers User List
Subject: highlight feature (was Two displayProjections on a map)

 

 

 

On Thu, Jan 10, 2013 at 8:28 AM, Jerome A. Wendell
<jawendell at digitalmapping.com> wrote:

Richard,

 

I looked at your site at the link below, and it is very impressive.  I am
new to openlayers and web mapping, and see that I have a tremendous amount
to learn.  When you have returns from your search page, what type of call
are you making to openlayers with the "Map It" links to highlight and zoom
to a specific parcel?

 

Thanks,

 

Jerome A. Wendell

 

This probably deserves a different subject/thread.

There are a lot of ways that people do this and I'm not going to say that
I'm doing it the best way. My "Map It" function makes an AJAX call to a php
function that returns the extent of the selected features (there can be many
features selected). It then instructs OpenLayer to zoom to that extent, and
adds a layer with the selected features highlighted. I am using WMS style
requests, so all features are being drawn on the server. I am no rendering
vectors in the browser, which seems to be a more popular approach with
OpenLayers folks.

Best regards,
Rich


-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130110/f94d5f0a/attachment.html>


More information about the Users mailing list