URLAPIModule
Extends:
The URLAPI module provides a possibility to control the map with various parameters from the URL. this contains a simple marker class which is a position on the map combined with some text. This module can also generate URL which will reproduce the map in most of its current state. This is used by the control LinkGenerator which can display the URL in various forms and by the LinkGeneratorButton which can additionally let the user set the marker on the map and give it a text.
The URLAPI module extends the G4UMapOptions by 2 parameters:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
Method Summary
Public Methods | ||
public |
configureUI(mapConfig: *): undefined This method is called once when the map is configured |
|
public |
createControl(controlType: string, options: g4uControlOptions, receiver: ComposedControl | G4UMap): undefined | Control This method is called if the ControlFactory cant construct controls of this type |
|
public |
|
Inherited Summary
From class Module | ||
private |
|
|
public |
configureMap(mapConfig: *): undefined This method is called once when the map is configured |
|
public |
configureUI(mapConfig: *): undefined This method is called every time the ui is recreated |
|
public |
createControl(controlType: string, options: g4uControlOptions, receiver: ComposedControl | G4UMap): undefined | Control This method is called if the ControlFactory cant construct controls of this type |
|
public |
createLayer(type: string, options: g4uLayerOptions, superType: SuperType, skipIdCheck: boolean): undefined | ol.layer.Base This method is called if the LayerFactory cant construct layers of this type |
|
public |
Thsi method is called if the map enables userActionTracking |
|
public |
|
|
public |
|
Public Constructors
public constructor() source
Public Members
public moduleParameters_: * source
Public Methods
public configureUI(mapConfig: *): undefined source
This method is called once when the map is configured
Override:
Module#configureUIParams:
Name | Type | Attribute | Description |
mapConfig | * |
public createControl(controlType: string, options: g4uControlOptions, receiver: ComposedControl | G4UMap): undefined | Control source
This method is called if the ControlFactory cant construct controls of this type
Override:
Module#createControlParams:
Name | Type | Attribute | Description |
controlType | string | ||
options | g4uControlOptions | ||
receiver | ComposedControl | G4UMap |
public setMap(map: G4UMap) source
Override:
Module#setMapParams:
Name | Type | Attribute | Description |
map | G4UMap |