Provides standard interaction controls with default settings.
Constructs the standard interaction controls with default settings.
This includes the drag, wheel, dblclick and arrow controls. This control set does not allow customization;
to customize controls, add them individually instead. For example, to just add drag and wheel controls:
map.interact(false); map.add(mapsense.drag()); map.add(mapsense.wheel());
Adds this control to the specified map x, removes this control from its current map, or returns the current map. This method is typically not called directly, but is needed to support the map’s add and remove methods.
If the argument x is specified, this method returns this. If x is null, this control is removed from its current map; otherwise, this control is added to the specified map. If no arguments are specified, this method returns the current map, which may be null. Whew!