Zum Hauptinhalt gehen

How does the RemoveLayerCatalogItem command work

Kommentare

1 Kommentar

  • Zack Robison
    You didn't try the "any" class?  Read the docs! XD

     

    Since the AddCatalogLayers command says that it takes a comma-delimited list of layer ids, my guess is that this is what the RemoveLayerCatalogItem wants.  Did you give that a go?  Maybe try an actual enumerable object instead, since the underlying code wants an index at some point (though my guess is that they want to split an input string by commas)?

     

    I also see this ominous warning in there: "will not work for map service which has multiple layers like dynamicmapService"
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.