Skip to main content

Default drawing color

Comments

2 comments

  • Amanda Frech
    Hi Chris,

     

    The change you've made here affects markup.  If you have the "Draw" tool on your toolbar, use that to draw a polygon shape.  When you finish, the completed shape should reflect the colour you've set with "polygonFillColor". 

     

    The Desktop.json file doesn't have configuration options set up for the interim drawing styles.  If you'd like to see a configurable option for that, I would recommend posting to the Ideas section so that other users can vote for it.

     

    As a makeshift solution, you may be able to change the styles using custom CSS.  For example, I added the following to

     

    C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\SITENAME\Viewers\VIEWERNAME\VirtualDirectory\Resources\Styles\Custom\Desktop.css : #map_graphics_layer path { fill: rgb(255, 255, 0); fill-opacity: 0.25; stroke: rgb(0, 0, 0); stroke-opacity: 0.8; stroke-width: 2 } I think this has the effect that you're looking for, but it also impacts other paths like the one the identify tool draws.

     

    Hope that helps!

     

    Amanda
    0
  • Chris Roberts
    Thanks Amanda

     

    Just what I was looking for!
    0

Please sign in to leave a comment.