Ticket #564: 564.patch
| File 564.patch, 1.8 kB (added by sderle, 2 years ago) |
|---|
-
lib/OpenLayers/Renderer/VML.js
old new 29 29 } 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); 36 36 }, … … 80 80 this.rendererRoot.style.width = this.size.w; 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 87 87 /** -
examples/editingtoolbar.html
old new 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> 3 4 <style type="text/css"> … … 24 25 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 29 31 map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
