Changes between Version 2 and Version 3 of Printing

Show
Ignore:
Timestamp:
12/10/07 10:51:19 (5 years ago)
Author:
openlayers
Comment:

added comments to printMap() to clarify where the variables are coming from

Legend:

Unmodified
Added
Removed
Modified
  • Printing

    v2 v3  
    2626 
    2727{{{ 
     28  // this assumes that the Map object is a JavaScript variable named "map" 
     29  // and that your layers are in a JavaScript array named "layers" 
     30  // and that both of these are in an iframe named "map" 
     31  // But changing these references is a simple matter to fit your setup. 
    2832  function printMap() { 
    2933    // fetch the extent and image size