new ol.proj.Projection(options)
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Projection options. 
 | ||||||||||||||||||||||
Methods
- 
    getCode(){string}src/ol/proj/proj.js, line 138
- 
    
    
    Get the code for this projection, e.g. 'EPSG:4326'. Returns:Code.
 
- 
    getExtent(){ol.Extent}src/ol/proj/proj.js, line 148
- 
    
    
    Get the validity extent for this projection. Returns:Extent.
 
- 
    getMetersPerUnit(){number|undefined}src/ol/proj/proj.js, line 169
- 
    
    
    Get the amount of meters per unit of this projection. If the projection is not configured with a units identifier, the return is undefined.Returns:Meters.
 
- 
    getUnits(){ol.proj.Units}src/ol/proj/proj.js, line 158
- 
    
    
    Get the units of this projection. Returns:Units.
 
- 
    getWorldExtent(){ol.Extent} experimentalsrc/ol/proj/proj.js, line 179
- 
    
    
    Get the world extent for this projection. Returns:Extent.
 
- 
    isGlobal(){boolean}src/ol/proj/proj.js, line 204
- 
    
    
    Is this projection a global projection which spans the whole world? Returns:Whether the projection is global.
 
- 
    setExtent(extent)src/ol/proj/proj.js, line 230
- 
    
    
    Set the validity extent for this projection. Name Type Description extentol.Extent Extent. 
- 
    setWorldExtent(worldExtent) experimentalsrc/ol/proj/proj.js, line 241
- 
    
    
    Set the world extent for this projection. Name Type Description worldExtentol.Extent World extent [minlon, minlat, maxlon, maxlat]. 
 OpenLayers 3
 OpenLayers 3