In version 4.8, ArcGis Tiled Map Service Layer named different ? I can find this till version 3.25 .
I am checking in this page
Overview | API Reference | ArcGIS API for JavaScript 4.8
Solved! Go to Solution.
If you have questions on what items are in 4.x as compared to 3.x, take a look at Functionality matrix | ArcGIS API for JavaScript 4.8
The ArcGISTiledMapServiceLayer class is now TileLayer
If you have questions on what items are in 4.x as compared to 3.x, take a look at Functionality matrix | ArcGIS API for JavaScript 4.8
The ArcGISTiledMapServiceLayer class is now TileLayer
Thank you Ken Buja ....Does Tile Layer work in Calcite Bootstrap too ?
Yes it does.
Don't forget to click the "Mark Correct" on the post that answered your question.
Ken Buja, Thank you for your reply.
Yes it works. I have a related question as follows -
I created TileLayer class as
const fl7 = new TileLayer({
url: "***"
});
Then I added the TileLayer to the basemap as
var map = new Map({
basemap: app.basemap,
layers: [fl7]
});
I created a range-slider as
<div class="slidecontainer">
<input type="range" min="1" max="100" value="50" class="slider" id="myRange">
</div>
Now, how can I change the opacity of the TileLayer using the value obtained from slider?
Thanks again!
This is continued in this discussion.
Please mark the question as answered.