remove:duplicated static method (#9830)

This commit is contained in:
KOLDERWH 2025-08-15 05:27:21 +08:00 committed by GitHub
parent c46c6c5c92
commit 42a8f0c73a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,16 +25,6 @@ export class Control extends Class {
});
}
static {
// @section
// @aka Control Options
this.setDefaultOptions({
// @option position: String = 'topright'
// The position of the control (one of the map corners). Possible values are `'topleft'`,
// `'topright'`, `'bottomleft'` or `'bottomright'`
position: 'topright'
});
}
initialize(options) {
Util.setOptions(this, options);