Changeset 2959
- Timestamp:
- 04/01/07 19:22:49 (2 years ago)
- Files:
-
- trunk/openlayers/examples/editingtoolbar.html (modified) (2 diffs)
- trunk/openlayers/lib/OpenLayers/Renderer/VML.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/examples/editingtoolbar.html
r2803 r2959 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 1 2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 3 <head> … … 25 26 vlayer = new OpenLayers.Layer.Vector( "Editable" ); 26 27 map.addLayer(vlayer); 28 map.addControl(new OpenLayers.Control.PanZoomBar()); 27 29 map.addControl(new OpenLayers.Control.EditingToolbar(vlayer)); 28 30 trunk/openlayers/lib/OpenLayers/Renderer/VML.js
r2943 r2959 30 30 document.namespaces.add("v", "urn:schemas-microsoft-com:vml"); 31 31 var style = document.createStyleSheet(); 32 style.addRule('v\\:*', "behavior: url(#default#VML); ");33 32 style.addRule('v\\:*', "behavior: url(#default#VML); " + 33 "position: relative; display: inline-block;"); 34 34 OpenLayers.Renderer.Elements.prototype.initialize.apply(this, 35 35 arguments); … … 81 81 this.rendererRoot.style.height = this.size.h; 82 82 83 this.root.style.width = this.size.w;84 this.root.style.height = this.size.h83 this.root.style.width = "100%"; 84 this.root.style.height = "100%"; 85 85 }, 86 86
