New answers tagged


I don't believe you can do this, but one workaround is to add a dummy polygon layer to your project which has no features in it, but has the same symbology as your extent indicator. Add that layer to your legend.


You cannot add a display indicator as an element to a legend in ArcMap. You could build an element using graphics and just place it underneath your legend. It's usually not terribly hard to copy the formatting of the patch and text.


The solution to this turned out to be that I still had the previous colors utilized in some maps of my composer. I had to unlock and refresh those layers.


The legend does not depend on the existence of any particular layer. The part that you are missing here is a getColor function. Copying the one from the tutorial in question: function getColor(d) { return d > 1000 ? '#800026' : d > 500 ? '#BD0026' : d > 200 ? '#E31A1C' : d > 100 ? '#FC4E2A' : d ...


I figured out a solution to this problem. I could not find a way to get a GraphicsLayer to be properly labeled but when I switched to a FeatureLayer instantiated with my own feature collection I was able to configure a renderer that rendered the print service PDF correctly. Here's some simplified code: var featureCollection = { "layerDefinition": { ...


You can't have two symbols for one legend item but you can create (duplicate) two (or more) legends in the print composer and place one above each other with appropriate shift/spacing settings to achieve that effect. Example from print composer:


In the QGIS map composer, under Legend Items, you can specify the number of columns that you want in your legend e.g.: Which will produce:


Based on this thread it appears that this is a limitation of the print task API. The ESRI staff member there stated: Unfortunately, i don't know how of a good way to work around this problem (other than ensuring that you have fields present in the data for values you need to render by.)


The answer is to do both. First, create a copy cat layer, making the point symbols in your legend larger. Bring your good map layer to the front so the second map (with the large icons) is hidden. Create the legend for the second map so in the legend the symbols are big. Convert that legend to a graphic. Remove the layer (bad map). The legend will still ...


This can be done with a bit of trial-and-error in the Legend settings. In your Layer Properties Symbology tab, right-click on each symbol category and select Edit Description and enter the text you want on the second line eg (-102.12 - 17.92) and remove this text from the symbol label. Second create your Legend. Once it's created double-click on it to ...


To make changes in the legend, first you will have to enable editing, right click the legend -> convert to graphics , then select the labels you want to edit and right click -> ungroup. Now you can manually move them around as much as you want and edit any individual parts, just move the lines with the text under the label. When you are satisfied with what ...

Top 50 recent answers are included