Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a KML layer with over 300 features, but I only want to display features based on a user form.

Each feature has a unique ID and Sector and I have added the entire KML to the map but have the visibility set to false. How would I go about adding only the features to the map that contain the unique ID and Sector values specified after a user hits submit on a form?

share|improve this question
    
Please checkout stackoverflow.com/questions/2995238/… might be helpful for you. –  Farhat Abbas Oct 24 '13 at 10:53
    
I've decided to install and use Geoserver instead of just loading KML layers...and each of the geoserver openlayers examples offer a query data function. –  BrianJBaldwin Oct 24 '13 at 22:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.