Zum Hauptinhalt gehen

basemaps & opacity setting

Kommentare

5 Kommentare

  • Permanently deleted user
    Could you add the layers as a map service (thus retaining your opacity settings) rather than to basemap?. Or you could try adding them individually as a basemap rather than to a group - I've noticed geocortex treats opacity in a group as all one setting
    0
  • Permanently deleted user
    Thanks for the suggestions Sylvia.  The latter suggestion is how it is currently setup.  I published each one as its own service and added them in individually.  I also tried setting the transparency in arc prior to publishing, but as you probably know that does not translate once it is added to gc.  It shows up as a washed out version of the transparency.  I've attempted this with both a published tif and a fgdb polygon layer.  Both behave the same.

     

    To me it looks like the biggest issue is that once you add a service/layer to a basemap group it automatically removes any transparency or opacity setting you've setup.  I can turn on/off each of the layers in the TOC and it respects the settings.
    0
  • Permanently deleted user
    Corey, perhaps the opacity/transparency is lost due to basemaps sitting below all the other layers, thus it cannot be transparent.
    0
  • Permanently deleted user
    Hi Cory, 

     

    The basemap slider, the layer list's transparency slider, and the opacity setting in Manager all target the same thing (the "opacity" property on the "layer" object).  Using any of those sets that value independantly without taking into account the value that the others might have previously set.  

     

    "I also tried setting the transparency in arc prior to publishing, but as you probably know that does not translate once it is added to gc.  It shows up as a washed out version of the transparency"

     

    When you tried this, did you also change the "Image Format" in Manager to PNG32?  I think you can get the behaviour you're looking for by doing that.  "Image Format" is a setting in the "Display Settings" tab on the "Edit Map Service" page (same page as where you change the opacity setting).  Other image formats don't support partial transparency so we have to force PNG32 if we want the tile images we get back from ArcGIS server to be partly transparent.
    0
  • Permanently deleted user
    Hi Amanda,

     

    I do have the image format in manager set to png32 for each service.  Thank you for the suggestion.
    0

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