Let's put together a few things we've learned so far. We'll create some points and a polygon, place it on the map, and use the SelectFeature control to allow the user to select them. We'll register the
featureunselected events so that we can fire an event when the user interacts with a feature. When those events are fired, we'll access the feature's
attributes object and display information from it. Let's do it.
initfunction, right after ...