Changes between Version 9 and Version 10 of Addins/InlineXhtml

Show
Ignore:
Timestamp:
05/06/11 19:04:00 (2 years ago)
Author:
hhudson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Addins/InlineXhtml

    v9 v10  
    4141 1. For example, add the following headers; 
    4242{{{ 
    43       <script src="../lib/OpenLayers/Tile/InlineXhtml.js"></script> 
    44       <script src="../lib/OpenLayers/Layer/WMS/InlineXhtml.js"></script> 
    45       <script src="../lib/OpenLayers/Layer/InlineXhtml.js"></script> 
    46       <script src="../lib/OpenLayers/Layer/ScalableInlineXhtml.js"></script> 
     43      <script src="../lib/OpenLayers/Tile/InlineXhtml.js" type="text/javascript"></script> 
     44      <script src="../lib/OpenLayers/Layer/WMS/InlineXhtml.js" type="text/javascript"></script> 
     45      <script src="../lib/OpenLayers/Layer/InlineXhtml.js" type="text/javascript"></script> 
     46      <script src="../lib/OpenLayers/Layer/ScalableInlineXhtml.js" type="text/javascript"></script> 
    4747}}} 
    4848 1. Use the [wiki:Profiles build tools] to create a single file build (or link to your !OpenLayers.js file to run in development mode). 
     
    126126For example, instead of; 
    127127{{{ 
    128 <svg width="1024" height="768" preserveAspectRatio="none" ... 
     128<svg width="1024" height="768" ... 
    129129}}} 
    130130Try; 
    131131{{{ 
    132 <svg viewBox="0 0 1024 768" preserveAspectRatio="none" ... 
     132<svg viewBox="0 0 1024 768" ... 
    133133}}} 
    134134''