Hi,
So my code is :
var SA_Innondation = new TileLayer({
title:"Sensibilité Aléas Inondation",
sublayers: [{
id: 0,
popupTemplate: {
title: "{ppr_label}",
content: "{risq_2015}"
}
}]
});
My console return this error :
Uncaught TypeError: [accessor] cannot assign to read-only property 'sublayers' of esri.layers.TileLayer
I declare :
"esri/layers/TileLayer",
"esri/layers/support/Sublayer",
So is it impossible to retrieve attribute data using a cached layer with Tilelayer ?
It's works with a mapimagelayer but the display is too slow.
Some ideas ?
Thank's
Olivier