models/zoomModel.ts
constructor(options: any)
|
Defined in models/zoomModel.ts:1
|
position |
position: |
Default value: topright
|
Defined in models/zoomModel.ts:15
|
zoomInText |
zoomInText: |
Default value: +
|
Defined in models/zoomModel.ts:11
|
zoomInTitle |
zoomInTitle: |
Default value: Zoom in
|
Defined in models/zoomModel.ts:12
|
zoomOutText |
zoomOutText: |
Default value: -
|
Defined in models/zoomModel.ts:13
|
zoomOutTitle |
zoomOutTitle: |
Default value: Zoom out
|
Defined in models/zoomModel.ts:14
|
export class zoomModel {
constructor(options: any) {
if (options !== null) {
for (var key in options) {
if (options[key] !== undefined) {
this[key] = options[key];
}
}
}
}
zoomInText: string = "+"; //The text set on the 'zoom in' button.
zoomInTitle: string = "Zoom in"; //The title set on the 'zoom in' button.
zoomOutText: string = "-"; //The text set on the 'zoom out' button.
zoomOutTitle: string = "Zoom out"; //The title set on the 'zoom out' button.
position: string = "topright" //The position of the control (one of the map corners). Possible values are 'topleft', 'topright', 'bottomleft' or 'bottomright'
}