In version 4.8, ArcGis Tiled Map Service Layer named different?

1410
5
Jump to solution
07-18-2018 12:46 PM
BulbulMajumder1
New Contributor III

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 

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

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

View solution in original post

5 Replies
KenBuja
MVP Esteemed Contributor

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

BulbulMajumder1
New Contributor III

Thank you Ken Buja ....Does Tile Layer work in Calcite Bootstrap too ?

0 Kudos
KenBuja
MVP Esteemed Contributor

Yes it does.

Don't forget to click the "Mark Correct" on the post that answered your question.

BulbulMajumder1
New Contributor III

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!

0 Kudos
KenBuja
MVP Esteemed Contributor

This is continued in this discussion.

Please mark the question as answered.

0 Kudos