SimpleSidebar
Show a page that slides from the left or right of the map(without tab page)
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: Object) Sidebar constructor |
|
Member Summary
| Public Members | ||
| public |
options: * |
|
Method Summary
| Public Methods | ||
| public |
hide(): Null Hide sidebar |
|
| public |
Asynchronous initialization, it will run a method called sidebar_init if the method has been defined. |
|
| public |
show(): Null Show sidebar |
|
Public Constructors
public constructor(options: Object) source
Sidebar constructor
Params:
| Name | Type | Attribute | Description |
| options | Object | Config params |
|
| options.id | String | The sidebar id (defined in html) |
|
| options.fileName | String | The sidebar file name. |
|
| options.closeButton | Boolean | If true, sidebar will have a close button. |
|
| options.position | String | Slides from the left or right |
|
| options.type | String | Sidebar size. value must be one of ['s', 'm', 'l']. |
Reference
Source