Dynamic Web Service Command Problem

3870
2
Jump to solution
04-28-2015 12:22 PM
SteveCline
Occasional Contributor

I am using some of the code in this sample: Legend - toggle services | ArcGIS API for JavaScript

I have substituted one of the layers that is drawn in the sample with this layer: Services Directory - LADA_Land_Use_Systems(MapServer)

For some reason the api only draws the legend but does not display the layer.

Is there any guidance on which types of layers may be used with this api or any specific settings that must be made?

0 Kudos
1 Solution

Accepted Solutions
PaulCrickard
New Contributor III

That layer is not a dynamic map service, it is a Tile Service.

TiledMapServiceLayer | API Reference | ArcGIS API for JavaScript

View solution in original post

2 Replies
PaulCrickard
New Contributor III

That layer is not a dynamic map service, it is a Tile Service.

TiledMapServiceLayer | API Reference | ArcGIS API for JavaScript

SteveCline
Occasional Contributor

That worked!  Thanks for the help.

0 Kudos