\OLMapPage_Controller
Controller Class for Main OpenLayers Page
Page controller class for OpenLayersPage (@link OpenLayersPage). The controller
class handles the requests and delegates the requests to the page instance
as well as to the available OGC webservices.
Synopsis
class OLMapPage_Controller
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- protected OpenLayers $openLayers = NULL;
- // methods
- public static void GoogleMapAPIKey()
- public OpenLayers getOpenLayers()
- public void init()
- public string FormLayerSwitcher()
- public string dogetfeatureinfo()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions
- $url_handlers
protected
- $openLayers
—
OpenLayers
varaible to store the open layers instance in the controller class.
Methods
public
- FormLayerSwitcher() — Render the layer selector.
- GoogleMapAPIKey()
- dogetfeatureinfo() — Processes params and finds if request is for a single or multiple stations.
- getOpenLayers() — Returns the open layers instance (via singleton pattern).
- init() — Initialisation function that is run before any action on the controller is called.