Select to view content in your preferred language

labels for imagery layer

510
2
06-14-2011 02:54 PM
geofflang
Deactivated User
Hi- I am using the following

        var url = "http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer";
        var tiledLayer = new esri.layers.ArcGISTiledMapServiceLayer(url);
        layers.push(tiledLayer);

and would like to the labels (city names etc) for this layer. I can add it but it botches up my time slider and layout when I do. I am sure I am missing something fairly obvious, thoughts?

thanks!
g
0 Kudos
2 Replies
derekswingley1
Deactivated User
You should be able to basically copy/paste from the World Imagery sample.
0 Kudos
geofflang
Deactivated User
Thanks, I had done that but didn't catch the fact it was monkeying with my layer IDs, got it figured out. Thanks Again!!
0 Kudos