mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
minor cleanup
This commit is contained in:
parent
ded97da733
commit
177dacdae1
@ -16,7 +16,7 @@ define([
|
||||
FileSaver,LOD,Point,Extent,TileInfo,SpatialReference,TiledMapServerLayer)
|
||||
{
|
||||
"use strict";
|
||||
return declare("test",[TiledMapServerLayer],{
|
||||
return declare("OfflineTileEnablerLayer",[TiledMapServerLayer],{
|
||||
|
||||
tileInfo: null,
|
||||
_imageType:"",
|
||||
@ -60,7 +60,6 @@ define([
|
||||
this.offline.store.init(function(success){
|
||||
if(success){
|
||||
this._getTileInfoPrivate(url,function(result){
|
||||
console.log("RESULT BABY " + result)
|
||||
this.parseGetTileInfo(result,function(result){
|
||||
this.layerInfos = result.resultObj.layers;
|
||||
// this.version = result.resultObj.currentVersion;
|
||||
@ -121,9 +120,8 @@ define([
|
||||
getTileUrl: function(level,row,col)
|
||||
{
|
||||
console.assert(!isNaN(level) && !isNaN(row) && !isNaN(col), "bad tile requested");
|
||||
|
||||
console.log("looking for tile",level,row,col);
|
||||
// var url = this._self._getTileUrl(level,row,col);
|
||||
|
||||
var url = this.url + "/tile/" + level + "/" + row + "/" + col;
|
||||
console.log("LIBRARY ONLINE " + this.offline.online)
|
||||
if( this.offline.online )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user