Changes between Version 2 and Version 3 of UserGuide


Ignore:
Timestamp:
Jun 4, 2008, 8:17:52 PM (16 years ago)
Author:
madair
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide

    v2 v3  
    2323== Proj4js.Proj constructor ==
    2424
    25 Every Proj object must be initialized with the parameters of the CRS to be used.  Proj4js uses the same initialization parameters that PROJ4 uses [link].
    26 
    27 The argument to the constructor is a key in the Proj4js.defs initialization parameters object.
     25Every Proj object must be initialized with the parameters of the CRS to be used.  The argument to the constructor is a key in the Proj4js.defs initialization parameters object.
    2826
    2927
    3028{{{
    31 Proj4js.defs["EPSG:27563"]="+title=LAMB sud france  +proj=lcc +lat_1=44.1 +lat_0=44.1 +lon_0=0 +k_0=0.999877499 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m";
     29Proj4js.defs["EPSG:27563"]="+title=LAMB sud france  +proj=lcc +lat_1=44.1 +lat_0=44.1 +lon_0=0 +k_0=0.999877499
     30                            +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m";
    3231}}}
    3332
     33Proj4js uses the same initialization parameters that PROJ4 uses [link] and these values must be defined before the constructor is called.
    3434
    3535== If you know the projections to be used in your application ==
    3636
    37 The Proj4js.defs value must be defined before the constructor is called.  You can define these via the script tag (see examples in the lib/defs directory) or anywhere else in your application.
    38 
     37You can define these via the script tag (see examples in the lib/defs directory) or anywhere else in your application.
    3938
    4039{{{
     
    4241}}}
    4342
    44 == Using dynamic lookup of initialization parameters ==
     43== Dynamic lookup of initialization parameters ==
    4544
    4645set libPath