tile.js
来自「WebGis基本功能展示」· JavaScript 代码 · 共 29 行
JS
29 行
Tile = Class.create();
Tile.prototype = {
initialize: function(row, column, level, model){
this.row = row;
this.column = column;
this.level = level;
this.model = model;
},
getRow: function(){
return this.row;
},
getColumn: function(){
return this.column;
},
getLevel: function(){
return this.level;
},
getMapModel: function(){
return this.model;
},
getSrc: function(){
return this.model.getCurrentMapType().getSrc(this.level, this.row, this.column);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?