32 lines
469 B
JavaScript
32 lines
469 B
JavaScript
"use strict";
|
|
import {InnerStyle} from './InnerStyle.js'
|
|
|
|
|
|
export class MyMapItem {
|
|
constructor(id) {
|
|
this.id = id
|
|
this.hidden = false
|
|
this.style = new InnerStyle()
|
|
}
|
|
|
|
getHidden() {
|
|
return this.hidden
|
|
}
|
|
|
|
setHidden(val) {
|
|
this.hidden = val
|
|
}
|
|
|
|
setSource(source) {
|
|
this.source = source
|
|
}
|
|
|
|
getSource() {
|
|
return this.source
|
|
}
|
|
|
|
getStyle() {
|
|
return this.style
|
|
}
|
|
}
|