Class: I2CE Module OpenLayers (Development)

From IHRIS Wiki


This article describes the class I2CE_Module_OpenLayers .

Page for displaying OpenLayers maps.

Methods

addMapDefaults()

Add any necessary defaults to the given map details. This is currently just a default view and any layers defined in the _order, but not in the layers data.

encode()

Encode the string for json and make sure it's all numeric when needed.

isAssoc()

Determine if the given array is associative or not

processOptions()

Process the map options from an array and return the OpenLayers javascript code to display the map.

  • Defined in i2ce/modules/OpenLayers/lib/I2CE_Module_OpenLayers.php on line 118
  • Signature: public function processOptions($key,$val,$type)
  • Parameters:
    • string $key
      The key for this value
    • mixed $val
      The option value to process
    • string $type
      The type for this value (or null)
      • Default Value: null
  • Returns: array
    An array of two values, the first is the OpenLayers map and the second is an array of javascript code to be run before the map code.

toNumbers()

Convert the argument to a number value if it is numeric (for proper json_encoding).

Inherited Methods

__construct()

This public method is inherited from I2CE_Module->__construct()

action_configure()

This public method is inherited from I2CE_Module->action_configure()

action_disable()

This public method is inherited from I2CE_Module->action_disable()

action_enable()

This public method is inherited from I2CE_Module->action_enable()

action_initialize()

This public method is inherited from I2CE_Module->action_initialize()

getCLIMethods()

This public method is inherited from I2CE_Module->getCLIMethods()

getConfig()

This public method is inherited from I2CE_Module->getConfig()

getHooks()

This public method is inherited from I2CE_Module->getHooks()

getMethods()

This public method is inherited from I2CE_Module->getMethods()

post_update()

This public method is inherited from I2CE_Module->post_update()

pre_upgrade()

This public method is inherited from I2CE_Module->pre_upgrade()

upgrade()

This public method is inherited from I2CE_Module->upgrade()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

launchBackgroundProcess()

This method is inherited from I2CE_Module->launchBackgroundProcess()

launchBackgroundPHPScript()

This method is inherited from I2CE_Module->launchBackgroundPHPScript()

launchBackgroundPage()

This method is inherited from I2CE_Module->launchBackgroundPage()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()