Zum Hauptinhalt gehen

Colour Output Geometry vs Markup

Kommentare

3 Kommentare

  • Permanently deleted user
    I'm having the same issue with Geocortex 4.5.1 and the HTML5 2.6 viewer. Were you able to find a solution?
    0
  • Permanently deleted user
    Hi Walter and Vincent, 

     

    If you are using the "CreateHighlightLayer" commands in a workflow, then you have to use the "RemoveHighlightLayer" or "ClearHighlights" to remove the graphics added by "HighlightEsriFeatureSet". 

     

    If you are using "AddTemporaryMarkupGeometry" or "AddMarkup", then you will use the "ClearTemporaryMarkup" or "ClearMarkupQuiet" respectively to remove those items. These commands work in sets and they are not interchangeable. In addition, markup colours cannot be adjusted or changed. The "SetHighlightFillColor" and "SetHighlightBorderColor" commands only apply to the "HighlighEsriFeatureSet" command.

     

    If you want to add multiple highlight colours/markups to the map, then I would suggest adding the buffer polygon to its own feature set and then use the "HighlightEsriFeatureSet" command. You can create multiple highlight layers with different colours to emphasize the features on your map. The other option is using the "UpdateGraphicsLayer" which will also let you apply different highlight colours to the features. 

     

    I hope this helps.

     

    Regards, 

     

    Carmen
    0
  • Permanently deleted user
    Hello Carmen,

     

    I used multiple highlight layers for different colors and they did not work.  the 2nd one takes 1st color.  I saw map flashed with the correct colors for both features but ended up to the first color being displayed at end.  Any suggestion?

     

    thanks
    0

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