0
Я создаю виджет arcgis, используя arcgis web app builder, теперь я сталкиваюсь с проблемой, чтобы добавить слой плитки на карту.Как добавить слой плитки на карту arcgis?
postCreate: function() {
var this_object = this;
this.graphicsLayerGSV = new GraphicsLayer();
this.map.addLayer(this.graphicsLayerGSV);
this.handlers = [];
this.img = domConstruct.create("img", null, win.body(), "first");
this.img.src = this.folderUrl + "images/flying_gsv_man_e.png";
this.img.style.position = "absolute";
this.inherited(arguments);
onsole.clear();
var socketURL = "ws://192.168.100.109:8082";//this.config.socketUrl;
console.log('Websocket URL :: ' + this.config.socketUrl);
var layover = new WebTiledLayer("http://dev.site.com/map/${level}/${row}/${col}.png");
this.map.addLayer(layover);
console.log(layover,'is working');
В коде выше this.map.addLayer (this.graphicsLayerGSV) работает, но this.map.addLayer (остановка) не работает.