Skip to main content

how to give graphics layers a name - wish i knew

Comments

1 comment

  • Permanently deleted user

    There is no easy way to do, but requires some custom codes.

    You need to codes (few client activity codes), and then use the Dynamic Externals activity to utilize your client activity codes like 'AddCustomMarkup' and 'RemoveCustomMarkup' by pass the geometry to add/remove.

    The name of the graphic layers is chosen 'Drawing' on the GVS.

    You can add your own graphic layers on your custom client activity implementation like

    Graphic Layer CustomMarkupLayer = (GraphicsLayer)Site.Map.Layers[CustomMarkupLayerName]; where CustomMarkupLayerName is what you chosen.

    Then add/revmove the geometry from your custom Markup Layer.

     

    0

Please sign in to leave a comment.