AnsweredAssumed Answered

add opacity range

Question asked by anjelinaponkerat on Jan 16, 2018
Latest reply on Jan 22, 2018 by rscheitlin


I have a tiled map service. I,m going to add opacity controller for this layer, but I can't!!

this is my code:

var housingLyr = new TileLayer({
  url: "http://localhost:6080/arcgis/rest/services/housing/MapServer",
  id: "ny-housing",
  visible: false,
  opacity: 1


<span id="layerToggle">
  <input type="checkbox" id="housingLyr" />satellite layer
  <input id="opacity" type="range" min="0" max="1" step="0.1" value="1" />