function proj4js_libraries_info in Proj4JS 7
Implements of hook_libraries_info().
File
- ./
proj4js.module, line 40 - Main module file for the proj4js.module.
Code
function proj4js_libraries_info() {
$libraries['proj4js'] = array(
'name' => 'Proj4JS',
'vendor url' => 'http://trac.osgeo.org/proj4js/',
'download url' => 'http://download.osgeo.org/proj4js/proj4js-1.1.0.zip',
'library path' => _proj4js_get_path(),
'version arguments' => array(
'file' => 'build/build.xml',
'pattern' => '/<property name="app.version" value="([0-9.]+)"/',
'lines' => 150,
),
'files' => array(
'js' => array(
'lib/proj4js-compressed.js',
),
),
'integration files' => array(
'proj4js' => array(
'js' => array(
'js/proj4js.js',
),
),
),
'variants' => array(
'source' => array(
'files' => array(
'js' => array(
'lib/proj4js.js',
),
),
),
),
);
return $libraries;
}