0

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?

2
  • Please checkout stackoverflow.com/questions/2995238/… might be helpful for you. Commented Oct 24, 2013 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. Commented Oct 24, 2013 at 22:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.