Hoppa till huvudinnehållet

How does the RemoveLayerCatalogItem command work

Kommentarer

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

Du måste logga in om du vill lämna en kommentar.