nicemap/nicemap.module, line 227
- Versions
- 6
nicemap_projections()
Provides an array of projection options -- usable for form selects.
Code
<?php
function nicemap_projections() {
return array(
'EPSG:3395' => array(
'mercator' => t('Mercator'),
'class' => 'nicemap_mercator_projection',
),
'EPSG:4326' => array(
'name' => t('Equirectangular'),
'class' => 'nicemap_equirectangular_projection',
),
'EPSG:900913' => array(
'mercator' => t('Google Mercator'),
'class' => 'nicemap_mercator_projection', // Don't have a definition yet, so we fall back.
),
);
}
?> 