Scaling Legend and Overview Map
I can't get my legend to scale with the legend window that I create. The Legend also doesn't line up all of the symbols correctly. I would also like to know how to change the color of the overview location square in the Overview Map, it defaults to red and it's hard to see on my map. any help would be appreciated. Thanks.
-
Hi Jacob,
the out of the box legend is fairly well designed and doesn't exhibit the problems you mention. We also have a more advanced legend that has some code behind it - see it on the code gallery at https://support.geocortex.com/resizeable-legend
As for the highlight colour of the extent in the overview map, I've put in a feature request for you as it currently not configurable.
regards,
Edmond
0 -
Hi Jacob,
Development has told me that they've implemented the feature request for the next version of Geocortex Essentials (3.16).
You'll need to add this to the REST web.config. The value accepts named colours and ARGB values (the "#" is required).
<add key="gcx.OverviewMap.DefaultHighlightColor" value="#FF00FF00"/>If you configure something invalid you should see a log message like this:
< Message>Invalid overview map default highlight color 'asdf' configured in appSetting 'gcx.OverviewMap.DefaultHighlightColor'. asdf is not a valid value for Int32.</Message>regards,
Edmond
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare