Changeset 6711
- Timestamp:
- 03/30/08 22:12:03 (5 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Control.js (modified) (2 diffs)
- trunk/openlayers/tests/Ajax.html (deleted)
- trunk/openlayers/tests/BaseTypes.html (deleted)
- trunk/openlayers/tests/BaseTypes/Bounds.html (deleted)
- trunk/openlayers/tests/BaseTypes/Class.html (deleted)
- trunk/openlayers/tests/BaseTypes/Element.html (deleted)
- trunk/openlayers/tests/BaseTypes/LonLat.html (deleted)
- trunk/openlayers/tests/BaseTypes/Pixel.html (deleted)
- trunk/openlayers/tests/BaseTypes/Size.html (deleted)
- trunk/openlayers/tests/BaseTypes/test_Bounds.html (copied) (copied from trunk/openlayers/tests/BaseTypes/test_Bounds.html)
- trunk/openlayers/tests/BaseTypes/test_Class.html (copied) (copied from trunk/openlayers/tests/BaseTypes/test_Class.html)
- trunk/openlayers/tests/BaseTypes/test_Element.html (copied) (copied from trunk/openlayers/tests/BaseTypes/test_Element.html)
- trunk/openlayers/tests/BaseTypes/test_LonLat.html (copied) (copied from trunk/openlayers/tests/BaseTypes/test_LonLat.html)
- trunk/openlayers/tests/BaseTypes/test_Pixel.html (copied) (copied from trunk/openlayers/tests/BaseTypes/test_Pixel.html)
- trunk/openlayers/tests/BaseTypes/test_Size.html (copied) (copied from trunk/openlayers/tests/BaseTypes/test_Size.html)
- trunk/openlayers/tests/Console.html (deleted)
- trunk/openlayers/tests/Control.html (deleted)
- trunk/openlayers/tests/Control/Attribution.html (deleted)
- trunk/openlayers/tests/Control/Button.html (deleted)
- trunk/openlayers/tests/Control/DragFeature.html (deleted)
- trunk/openlayers/tests/Control/DragPan.html (deleted)
- trunk/openlayers/tests/Control/KeyboardDefaults.html (deleted)
- trunk/openlayers/tests/Control/LayerSwitcher.html (deleted)
- trunk/openlayers/tests/Control/ModifyFeature.html (deleted)
- trunk/openlayers/tests/Control/MousePosition.html (deleted)
- trunk/openlayers/tests/Control/MouseToolbar.html (deleted)
- trunk/openlayers/tests/Control/NavToolbar.html (deleted)
- trunk/openlayers/tests/Control/Navigation.html (deleted)
- trunk/openlayers/tests/Control/NavigationHistory.html (deleted)
- trunk/openlayers/tests/Control/OverviewMap.html (deleted)
- trunk/openlayers/tests/Control/PanZoom.html (deleted)
- trunk/openlayers/tests/Control/PanZoomBar.html (deleted)
- trunk/openlayers/tests/Control/Panel.html (deleted)
- trunk/openlayers/tests/Control/Permalink.html (deleted)
- trunk/openlayers/tests/Control/Scale.html (deleted)
- trunk/openlayers/tests/Control/ScaleLine.html (deleted)
- trunk/openlayers/tests/Control/SelectFeature.html (deleted)
- trunk/openlayers/tests/Control/test_Attribution.html (copied) (copied from trunk/openlayers/tests/Control/test_Attribution.html)
- trunk/openlayers/tests/Control/test_Button.html (copied) (copied from trunk/openlayers/tests/Control/test_Button.html)
- trunk/openlayers/tests/Control/test_DragFeature.html (copied) (copied from trunk/openlayers/tests/Control/test_DragFeature.html)
- trunk/openlayers/tests/Control/test_DragPan.html (copied) (copied from trunk/openlayers/tests/Control/test_DragPan.html)
- trunk/openlayers/tests/Control/test_KeyboardDefaults.html (copied) (copied from trunk/openlayers/tests/Control/test_KeyboardDefaults.html)
- trunk/openlayers/tests/Control/test_LayerSwitcher.html (copied) (copied from trunk/openlayers/tests/Control/test_LayerSwitcher.html)
- trunk/openlayers/tests/Control/test_ModifyFeature.html (copied) (copied from trunk/openlayers/tests/Control/test_ModifyFeature.html)
- trunk/openlayers/tests/Control/test_MousePosition.html (copied) (copied from trunk/openlayers/tests/Control/test_MousePosition.html)
- trunk/openlayers/tests/Control/test_MouseToolbar.html (copied) (copied from trunk/openlayers/tests/Control/test_MouseToolbar.html)
- trunk/openlayers/tests/Control/test_NavToolbar.html (copied) (copied from trunk/openlayers/tests/Control/test_NavToolbar.html)
- trunk/openlayers/tests/Control/test_Navigation.html (copied) (copied from trunk/openlayers/tests/Control/test_Navigation.html)
- trunk/openlayers/tests/Control/test_NavigationHistory.html (copied) (copied from trunk/openlayers/tests/Control/test_NavigationHistory.html)
- trunk/openlayers/tests/Control/test_OverviewMap.html (copied) (copied from trunk/openlayers/tests/Control/test_OverviewMap.html)
- trunk/openlayers/tests/Control/test_PanZoom.html (copied) (copied from trunk/openlayers/tests/Control/test_PanZoom.html)
- trunk/openlayers/tests/Control/test_PanZoomBar.html (copied) (copied from trunk/openlayers/tests/Control/test_PanZoomBar.html)
- trunk/openlayers/tests/Control/test_Panel.html (copied) (copied from trunk/openlayers/tests/Control/test_Panel.html)
- trunk/openlayers/tests/Control/test_Permalink.html (copied) (copied from trunk/openlayers/tests/Control/test_Permalink.html)
- trunk/openlayers/tests/Control/test_Scale.html (copied) (copied from trunk/openlayers/tests/Control/test_Scale.html)
- trunk/openlayers/tests/Control/test_ScaleLine.html (copied) (copied from trunk/openlayers/tests/Control/test_ScaleLine.html)
- trunk/openlayers/tests/Control/test_SelectFeature.html (copied) (copied from trunk/openlayers/tests/Control/test_SelectFeature.html)
- trunk/openlayers/tests/Events.html (deleted)
- trunk/openlayers/tests/Feature.html (deleted)
- trunk/openlayers/tests/Feature/Vector.html (deleted)
- trunk/openlayers/tests/Feature/test_Vector.html (copied) (copied from trunk/openlayers/tests/Feature/test_Vector.html)
- trunk/openlayers/tests/Format.html (deleted)
- trunk/openlayers/tests/Format/GML.html (deleted)
- trunk/openlayers/tests/Format/GeoJSON.html (deleted)
- trunk/openlayers/tests/Format/GeoRSS.html (deleted)
- trunk/openlayers/tests/Format/JSON.html (deleted)
- trunk/openlayers/tests/Format/KML.html (deleted)
- trunk/openlayers/tests/Format/OSM.html (deleted)
- trunk/openlayers/tests/Format/SLD.html (deleted)
- trunk/openlayers/tests/Format/WKT.html (deleted)
- trunk/openlayers/tests/Format/WMC.html (deleted)
- trunk/openlayers/tests/Format/XML.html (deleted)
- trunk/openlayers/tests/Format/test_GML.html (copied) (copied from trunk/openlayers/tests/Format/test_GML.html)
- trunk/openlayers/tests/Format/test_GeoJSON.html (copied) (copied from trunk/openlayers/tests/Format/test_GeoJSON.html)
- trunk/openlayers/tests/Format/test_GeoRSS.html (copied) (copied from trunk/openlayers/tests/Format/test_GeoRSS.html)
- trunk/openlayers/tests/Format/test_JSON.html (copied) (copied from trunk/openlayers/tests/Format/test_JSON.html)
- trunk/openlayers/tests/Format/test_KML.html (copied) (copied from trunk/openlayers/tests/Format/test_KML.html)
- trunk/openlayers/tests/Format/test_OSM.html (copied) (copied from trunk/openlayers/tests/Format/test_OSM.html)
- trunk/openlayers/tests/Format/test_SLD.html (copied) (copied from trunk/openlayers/tests/Format/test_SLD.html)
- trunk/openlayers/tests/Format/test_WKT.html (copied) (copied from trunk/openlayers/tests/Format/test_WKT.html)
- trunk/openlayers/tests/Format/test_WMC.html (copied) (copied from trunk/openlayers/tests/Format/test_WMC.html)
- trunk/openlayers/tests/Format/test_XML.html (copied) (copied from trunk/openlayers/tests/Format/test_XML.html)
- trunk/openlayers/tests/Geometry.html (deleted)
- trunk/openlayers/tests/Geometry/Collection.html (deleted)
- trunk/openlayers/tests/Geometry/Curve.html (deleted)
- trunk/openlayers/tests/Geometry/LineString.html (deleted)
- trunk/openlayers/tests/Geometry/LinearRing.html (deleted)
- trunk/openlayers/tests/Geometry/MultiLineString.html (deleted)
- trunk/openlayers/tests/Geometry/MultiPoint.html (deleted)
- trunk/openlayers/tests/Geometry/MultiPolygon.html (deleted)
- trunk/openlayers/tests/Geometry/Point.html (deleted)
- trunk/openlayers/tests/Geometry/Polygon.html (deleted)
- trunk/openlayers/tests/Geometry/Rectangle.html (deleted)
- trunk/openlayers/tests/Geometry/Surface.html (deleted)
- trunk/openlayers/tests/Geometry/test_Collection.html (copied) (copied from trunk/openlayers/tests/Geometry/test_Collection.html)
- trunk/openlayers/tests/Geometry/test_Curve.html (copied) (copied from trunk/openlayers/tests/Geometry/test_Curve.html)
- trunk/openlayers/tests/Geometry/test_LineString.html (copied) (copied from trunk/openlayers/tests/Geometry/test_LineString.html)
- trunk/openlayers/tests/Geometry/test_LinearRing.html (copied) (copied from trunk/openlayers/tests/Geometry/test_LinearRing.html)
- trunk/openlayers/tests/Geometry/test_MultiLineString.html (copied) (copied from trunk/openlayers/tests/Geometry/test_MultiLineString.html)
- trunk/openlayers/tests/Geometry/test_MultiPoint.html (copied) (copied from trunk/openlayers/tests/Geometry/test_MultiPoint.html)
- trunk/openlayers/tests/Geometry/test_MultiPolygon.html (copied) (copied from trunk/openlayers/tests/Geometry/test_MultiPolygon.html)
- trunk/openlayers/tests/Geometry/test_Point.html (copied) (copied from trunk/openlayers/tests/Geometry/test_Point.html)
- trunk/openlayers/tests/Geometry/test_Polygon.html (copied) (copied from trunk/openlayers/tests/Geometry/test_Polygon.html)
- trunk/openlayers/tests/Geometry/test_Rectangle.html (copied) (copied from trunk/openlayers/tests/Geometry/test_Rectangle.html)
- trunk/openlayers/tests/Geometry/test_Surface.html (copied) (copied from trunk/openlayers/tests/Geometry/test_Surface.html)
- trunk/openlayers/tests/Handler.html (deleted)
- trunk/openlayers/tests/Handler/Click.html (deleted)
- trunk/openlayers/tests/Handler/Drag.html (deleted)
- trunk/openlayers/tests/Handler/Feature.html (deleted)
- trunk/openlayers/tests/Handler/Hover.html (deleted)
- trunk/openlayers/tests/Handler/Keyboard.html (deleted)
- trunk/openlayers/tests/Handler/MouseWheel.html (deleted)
- trunk/openlayers/tests/Handler/Path.html (deleted)
- trunk/openlayers/tests/Handler/Point.html (deleted)
- trunk/openlayers/tests/Handler/Polygon.html (deleted)
- trunk/openlayers/tests/Handler/RegularPolygon.html (deleted)
- trunk/openlayers/tests/Handler/test_Click.html (copied) (copied from trunk/openlayers/tests/Handler/test_Click.html)
- trunk/openlayers/tests/Handler/test_Drag.html (copied) (copied from trunk/openlayers/tests/Handler/test_Drag.html)
- trunk/openlayers/tests/Handler/test_Feature.html (copied) (copied from trunk/openlayers/tests/Handler/test_Feature.html)
- trunk/openlayers/tests/Handler/test_Hover.html (copied) (copied from trunk/openlayers/tests/Handler/test_Hover.html)
- trunk/openlayers/tests/Handler/test_Keyboard.html (copied) (copied from trunk/openlayers/tests/Handler/test_Keyboard.html)
- trunk/openlayers/tests/Handler/test_MouseWheel.html (copied) (copied from trunk/openlayers/tests/Handler/test_MouseWheel.html)
- trunk/openlayers/tests/Handler/test_Path.html (copied) (copied from trunk/openlayers/tests/Handler/test_Path.html)
- trunk/openlayers/tests/Handler/test_Point.html (copied) (copied from trunk/openlayers/tests/Handler/test_Point.html)
- trunk/openlayers/tests/Handler/test_Polygon.html (copied) (copied from trunk/openlayers/tests/Handler/test_Polygon.html)
- trunk/openlayers/tests/Handler/test_RegularPolygon.html (copied) (copied from trunk/openlayers/tests/Handler/test_RegularPolygon.html)
- trunk/openlayers/tests/Icon.html (deleted)
- trunk/openlayers/tests/Lang.html (deleted)
- trunk/openlayers/tests/Layer.html (deleted)
- trunk/openlayers/tests/Layer/EventPane.html (deleted)
- trunk/openlayers/tests/Layer/FixedZoomLevels.html (deleted)
- trunk/openlayers/tests/Layer/GML.html (deleted)
- trunk/openlayers/tests/Layer/GeoRSS.html (deleted)
- trunk/openlayers/tests/Layer/Google.html (deleted)
- trunk/openlayers/tests/Layer/Grid.html (deleted)
- trunk/openlayers/tests/Layer/HTTPRequest.html (deleted)
- trunk/openlayers/tests/Layer/Image.html (deleted)
- trunk/openlayers/tests/Layer/KaMap.html (deleted)
- trunk/openlayers/tests/Layer/MapGuide.html (deleted)
- trunk/openlayers/tests/Layer/MapServer.html (deleted)
- trunk/openlayers/tests/Layer/Markers.html (deleted)
- trunk/openlayers/tests/Layer/MultiMap.html (deleted)
- trunk/openlayers/tests/Layer/PointTrack.html (deleted)
- trunk/openlayers/tests/Layer/SphericalMercator.html (deleted)
- trunk/openlayers/tests/Layer/TMS.html (deleted)
- trunk/openlayers/tests/Layer/Text.html (deleted)
- trunk/openlayers/tests/Layer/TileCache.html (deleted)
- trunk/openlayers/tests/Layer/Vector.html (deleted)
- trunk/openlayers/tests/Layer/WFS.html (deleted)
- trunk/openlayers/tests/Layer/WMS.html (deleted)
- trunk/openlayers/tests/Layer/WrapDateLine.html (deleted)
- trunk/openlayers/tests/Layer/Yahoo.html (deleted)
- trunk/openlayers/tests/Layer/test_EventPane.html (copied) (copied from trunk/openlayers/tests/Layer/test_EventPane.html)
- trunk/openlayers/tests/Layer/test_FixedZoomLevels.html (copied) (copied from trunk/openlayers/tests/Layer/test_FixedZoomLevels.html)
- trunk/openlayers/tests/Layer/test_GML.html (copied) (copied from trunk/openlayers/tests/Layer/test_GML.html)
- trunk/openlayers/tests/Layer/test_GeoRSS.html (copied) (copied from trunk/openlayers/tests/Layer/test_GeoRSS.html)
- trunk/openlayers/tests/Layer/test_Google.html (copied) (copied from trunk/openlayers/tests/Layer/test_Google.html)
- trunk/openlayers/tests/Layer/test_Grid.html (copied) (copied from trunk/openlayers/tests/Layer/test_Grid.html)
- trunk/openlayers/tests/Layer/test_HTTPRequest.html (copied) (copied from trunk/openlayers/tests/Layer/test_HTTPRequest.html)
- trunk/openlayers/tests/Layer/test_Image.html (copied) (copied from trunk/openlayers/tests/Layer/test_Image.html)
- trunk/openlayers/tests/Layer/test_KaMap.html (copied) (copied from trunk/openlayers/tests/Layer/test_KaMap.html)
- trunk/openlayers/tests/Layer/test_MapGuide.html (copied) (copied from trunk/openlayers/tests/Layer/test_MapGuide.html)
- trunk/openlayers/tests/Layer/test_MapServer.html (copied) (copied from trunk/openlayers/tests/Layer/test_MapServer.html)
- trunk/openlayers/tests/Layer/test_Markers.html (copied) (copied from trunk/openlayers/tests/Layer/test_Markers.html)
- trunk/openlayers/tests/Layer/test_MultiMap.html (copied) (copied from trunk/openlayers/tests/Layer/test_MultiMap.html)
- trunk/openlayers/tests/Layer/test_PointTrack.html (copied) (copied from trunk/openlayers/tests/Layer/test_PointTrack.html)
- trunk/openlayers/tests/Layer/test_SphericalMercator.html (copied) (copied from trunk/openlayers/tests/Layer/test_SphericalMercator.html)
- trunk/openlayers/tests/Layer/test_TMS.html (copied) (copied from trunk/openlayers/tests/Layer/test_TMS.html)
- trunk/openlayers/tests/Layer/test_Text.html (copied) (copied from trunk/openlayers/tests/Layer/test_Text.html)
- trunk/openlayers/tests/Layer/test_TileCache.html (copied) (copied from trunk/openlayers/tests/Layer/test_TileCache.html)
- trunk/openlayers/tests/Layer/test_Vector.html (copied) (copied from trunk/openlayers/tests/Layer/test_Vector.html)
- trunk/openlayers/tests/Layer/test_WFS.html (copied) (copied from trunk/openlayers/tests/Layer/test_WFS.html)
- trunk/openlayers/tests/Layer/test_WMS.html (copied) (copied from trunk/openlayers/tests/Layer/test_WMS.html)
- trunk/openlayers/tests/Layer/test_WrapDateLine.html (copied) (copied from trunk/openlayers/tests/Layer/test_WrapDateLine.html)
- trunk/openlayers/tests/Layer/test_Yahoo.html (copied) (copied from trunk/openlayers/tests/Layer/test_Yahoo.html)
- trunk/openlayers/tests/Map.html (deleted)
- trunk/openlayers/tests/Marker.html (deleted)
- trunk/openlayers/tests/Marker/Box.html (deleted)
- trunk/openlayers/tests/Marker/test_Box.html (copied) (copied from trunk/openlayers/tests/Marker/test_Box.html)
- trunk/openlayers/tests/OpenLayers.html (deleted)
- trunk/openlayers/tests/Popup.html (deleted)
- trunk/openlayers/tests/Popup/Anchored.html (deleted)
- trunk/openlayers/tests/Popup/AnchoredBubble.html (deleted)
- trunk/openlayers/tests/Popup/test_Anchored.html (copied) (copied from trunk/openlayers/tests/Popup/test_Anchored.html)
- trunk/openlayers/tests/Popup/test_AnchoredBubble.html (copied) (copied from trunk/openlayers/tests/Popup/test_AnchoredBubble.html)
- trunk/openlayers/tests/Projection.html (deleted)
- trunk/openlayers/tests/Renderer.html (deleted)
- trunk/openlayers/tests/Renderer/Elements.html (deleted)
- trunk/openlayers/tests/Renderer/SVG.html (deleted)
- trunk/openlayers/tests/Renderer/VML.html (deleted)
- trunk/openlayers/tests/Renderer/test_Elements.html (copied) (copied from trunk/openlayers/tests/Renderer/test_Elements.html)
- trunk/openlayers/tests/Renderer/test_SVG.html (copied) (copied from trunk/openlayers/tests/Renderer/test_SVG.html)
- trunk/openlayers/tests/Renderer/test_VML.html (copied) (copied from trunk/openlayers/tests/Renderer/test_VML.html)
- trunk/openlayers/tests/Rule.html (deleted)
- trunk/openlayers/tests/Rule/Comparison.html (deleted)
- trunk/openlayers/tests/Rule/FeatureId.html (deleted)
- trunk/openlayers/tests/Rule/Logical.html (deleted)
- trunk/openlayers/tests/Rule/test_Comparison.html (copied) (copied from trunk/openlayers/tests/Rule/test_Comparison.html)
- trunk/openlayers/tests/Rule/test_FeatureId.html (copied) (copied from trunk/openlayers/tests/Rule/test_FeatureId.html)
- trunk/openlayers/tests/Rule/test_Logical.html (copied) (copied from trunk/openlayers/tests/Rule/test_Logical.html)
- trunk/openlayers/tests/Style.html (deleted)
- trunk/openlayers/tests/StyleMap.html (deleted)
- trunk/openlayers/tests/Tile.html (deleted)
- trunk/openlayers/tests/Tile/Image.html (deleted)
- trunk/openlayers/tests/Tile/WFS.html (deleted)
- trunk/openlayers/tests/Tile/test_Image.html (copied) (copied from trunk/openlayers/tests/Tile/test_Image.html)
- trunk/openlayers/tests/Tile/test_WFS.html (copied) (copied from trunk/openlayers/tests/Tile/test_WFS.html)
- trunk/openlayers/tests/Tween.html (deleted)
- trunk/openlayers/tests/Util.html (deleted)
- trunk/openlayers/tests/test_Ajax.html (copied) (copied from trunk/openlayers/tests/test_Ajax.html)
- trunk/openlayers/tests/test_BaseTypes.html (copied) (copied from trunk/openlayers/tests/test_BaseTypes.html)
- trunk/openlayers/tests/test_Console.html (copied) (copied from trunk/openlayers/tests/test_Console.html)
- trunk/openlayers/tests/test_Control.html (copied) (copied from trunk/openlayers/tests/test_Control.html)
- trunk/openlayers/tests/test_Events.html (copied) (copied from trunk/openlayers/tests/test_Events.html)
- trunk/openlayers/tests/test_Feature.html (copied) (copied from trunk/openlayers/tests/test_Feature.html)
- trunk/openlayers/tests/test_Format.html (copied) (copied from trunk/openlayers/tests/test_Format.html)
- trunk/openlayers/tests/test_Geometry.html (copied) (copied from trunk/openlayers/tests/test_Geometry.html)
- trunk/openlayers/tests/test_Handler.html (copied) (copied from trunk/openlayers/tests/test_Handler.html)
- trunk/openlayers/tests/test_Icon.html (copied) (copied from trunk/openlayers/tests/test_Icon.html)
- trunk/openlayers/tests/test_Lang.html (copied) (copied from trunk/openlayers/tests/test_Lang.html)
- trunk/openlayers/tests/test_Layer.html (copied) (copied from trunk/openlayers/tests/test_Layer.html)
- trunk/openlayers/tests/test_Map.html (copied) (copied from trunk/openlayers/tests/test_Map.html)
- trunk/openlayers/tests/test_Marker.html (copied) (copied from trunk/openlayers/tests/test_Marker.html)
- trunk/openlayers/tests/test_OpenLayers.html (copied) (copied from trunk/openlayers/tests/test_OpenLayers.html)
- trunk/openlayers/tests/test_Popup.html (copied) (copied from trunk/openlayers/tests/test_Popup.html)
- trunk/openlayers/tests/test_Projection.html (copied) (copied from trunk/openlayers/tests/test_Projection.html)
- trunk/openlayers/tests/test_Renderer.html (copied) (copied from trunk/openlayers/tests/test_Renderer.html)
- trunk/openlayers/tests/test_Rule.html (copied) (copied from trunk/openlayers/tests/test_Rule.html)
- trunk/openlayers/tests/test_Style.html (copied) (copied from trunk/openlayers/tests/test_Style.html)
- trunk/openlayers/tests/test_StyleMap.html (copied) (copied from trunk/openlayers/tests/test_StyleMap.html)
- trunk/openlayers/tests/test_Tile.html (copied) (copied from trunk/openlayers/tests/test_Tile.html)
- trunk/openlayers/tests/test_Tween.html (copied) (copied from trunk/openlayers/tests/test_Tween.html)
- trunk/openlayers/tests/test_Util.html (copied) (copied from trunk/openlayers/tests/test_Util.html)
- trunk/openlayers/theme/default/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control.js
r6447 r6711 80 80 81 81 /** 82 * Property: allowSelection 83 * {Boolean} By deafault, controls do not allow selection, because 84 * it may interfere with map dragging. If this is true, OpenLayers 85 * will not prevent selection of the control. 86 * Default is false. 87 */ 88 allowSelection: false, 89 90 /** 82 91 * Property: displayClass 83 92 * {string} This property is used for CSS related to the drawing of the … … 241 250 this.div = OpenLayers.Util.createDiv(this.id); 242 251 this.div.className = this.displayClass; 252 if (!this.allowSelection) { 253 this.div.className += " olControlNoSelect"; 254 this.div.setAttribute("unselectable", "on", 0); 255 this.div.onselectstart = function() { return(false); }; 256 } 243 257 if (this.title != "") { 244 258 this.div.title = this.title; trunk/openlayers/theme/default/style.css
r6673 r6711 230 230 font-size: 1px; 231 231 filter: alpha(opacity=50); 232 } 232 } 233 234 .olControlNoSelect { 235 -moz-user-select: none; 236 } 237
