models/attributionModel.ts
constructor(options: any)
|
Defined in models/attributionModel.ts:1
|
position |
position: |
Default value: bottomright
|
Defined in models/attributionModel.ts:12
|
prefix |
prefix: |
Default value: Leaflet
|
Defined in models/attributionModel.ts:11
|
export class attributionModel {
constructor(options: any) {
if (options !== null) {
for (var key in options) {
if (options[key] !== undefined) {
this[key] = options[key];
}
}
}
}
prefix: string = "Leaflet"; //The HTML text shown before the attributions. Pass false to disable.
position: string = "bottomright" //The position of the control (one of the map corners). Possible values are 'topleft', 'topright', 'bottomleft' or 'bottomright'
}