You are here

function proj4js_load_definition_js_settings in Proj4JS 7

1 call to proj4js_load_definition_js_settings()
proj4js_load_definition in ./proj4js.module
Load a definition. The definition is made available in the client when behaviors load. Note due to Drupal loading behaviours in random order you need to call Drupal.behaviors.proj4js.attach yourself when your behaviours depend on the presence of the…

File

./proj4js.module, line 132
Main module file for the proj4js.module.

Code

function proj4js_load_definition_js_settings($identifier, $definition) {
  return array(
    'proj4js' => array(
      array(
        $identifier,
        $definition,
      ),
    ),
  );
}