import {LinkGeneratorButton} from 'guide4you/src/urlapi/controls/LinkGeneratorButton.js'LinkGeneratorButton
Extends:
Shows a window which contains a link to the current location of the map. Optionally a marker can be positioned on the map by the user and a text for this marker can be added.
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: LinkGeneratorButtonOptions) |
|
Member Summary
| Public Members | ||
| public |
resetMarker_: {"position": *, "text": *, "popVis": *} |
|
| Private Members | ||
| private |
$linkDisplay_: jQuery |
|
| private |
$markerCheckbox_: jQuery |
|
| private |
$markerDescriptionTextArea_: jQuery |
|
| private |
$markerDescription_: jQuery |
|
| private |
|
|
| private |
|
|
| private |
drawPoint_: Draw |
|
| private |
|
|
| private |
|
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
drawMarkerPoint(): Promise<Feature> Let the user draw a point for the marker. |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
updateMarker(point: *) |
|
| public |
|
|
Public Constructors
public constructor(options: LinkGeneratorButtonOptions) source
Params:
| Name | Type | Attribute | Description |
| options | LinkGeneratorButtonOptions |
Public Members
public resetMarker_: {"position": *, "text": *, "popVis": *} source
Private Members
private $linkDisplay_: jQuery source
private $markerCheckbox_: jQuery source
private $markerDescriptionTextArea_: jQuery source
private $markerDescription_: jQuery source
private drawPoint_: Draw source
Public Methods
public createHTML() source
public disableMap() source
public enableMap() source
public hideMarker() source
public placeMarker() source
public updateDescription() source
public updateMarker(point: *) source
Params:
| Name | Type | Attribute | Description |
| point | * |
