Initial commit

This commit is contained in:
zhongjin
2020-06-15 10:58:47 +08:00
commit 4f1dfe7564
8590 changed files with 1516878 additions and 0 deletions
@@ -0,0 +1,28 @@
var Backbone = require('backbone');
module.exports = Backbone.Model.extend({
defaults: {
default: false,
minZoom: 0,
maxZoom: 21,
name: '',
category: 'Custom',
type: 'Tiled',
selected: false,
val: '',
label: '',
template: function () {
return '';
}
},
getName: function () {
return this.get('label') || this.getValue();
},
getValue: function () {
return this.get('val');
}
});