Browse files

Add one explanation on the plus example.

  • Loading branch information...
1 parent 67c4899 commit 99063f9d4e45e483a7aba08fbbc995942196e6c1 @jorix committed Dec 24, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 examples/feature-popups-plus.js
View
5 examples/feature-popups-plus.js
@@ -15,6 +15,7 @@ var singleEventListeners = {
}
}
};
+
var fpControl = new OpenLayers.Control.FeaturePopups({
boxSelectionOptions: {},
// ** Options for the SelectFeature control to select **
@@ -24,8 +25,8 @@ var fpControl = new OpenLayers.Control.FeaturePopups({
// ** Don't use close box on popups
mode: OpenLayers.Control.FeaturePopups.DEFAULT &
~OpenLayers.Control.FeaturePopups.CLOSE_BOX,
- // ** Allow to zoom with the scroll wheel when the mouse is in the single popup active area, but like all drugs can have side effects ;-) **
-
+ // ** Allow to zoom with the scroll wheel when the mouse is in the single popup active area (see `framedCloudScrollable`)
+ // ** Alert instead of popup on `poisLayer` (see `singleEventListeners`)
popupSingleOptions: {
popupClass: framedCloudScrollable,
eventListeners: singleEventListeners

0 comments on commit 99063f9

Please sign in to comment.