Select to view content in your preferred language

Dynamic Web Service Command Problem

3965
2
Jump to solution
04-28-2015 12:22 PM
SteveCline
Regular 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
Deactivated User

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
Deactivated User

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

TiledMapServiceLayer | API Reference | ArcGIS API for JavaScript

SteveCline
Regular Contributor

That worked!  Thanks for the help.

0 Kudos