The description of the types of features included in a map, usually displayed in the map layout.

learn more… | top users | synonyms

1
vote
2answers
305 views

How to resize symbols in the QGIS Print Composer legend?

I am trying to map a count data type via graduated symbol against a chloropleth and the legend is too big. The circles of the graduated symbols are the actual size of their corresponding values in ...
2
votes
3answers
310 views

ArcGIS legend columns

I am making a legend in ArcGIS 10, and have a few layers with a large number of classes. When I try to display the legend with two columns for that layer, the second layer always lines up with the ...
0
votes
0answers
99 views

esri.dijit.Legend.startup not working in IE10

In Internet Explorer (IE) 10, legend.startup in the below code is not working. It just gets struck. The same is working in IE8. function generateLegend(results) { legend = new esri.dijit.Legend({ ...
2
votes
1answer
108 views

QGIS print composer: Transparency in legend symbols

Is there a way to make the legend in the QGIS (v2.0.1) print composer reflect the same degree of transparency as set in the Style box in the main window? The legend symbol colours are shown with no ...
0
votes
0answers
29 views

MapServer: Legend antialias

Is there a way to set ANTIALIAS for legend images in MapServer? Setting it up for symbols works pretty well, but all replies to GetLegendGraphic requests turn out a bit ugly and pixelated. I tried to ...
0
votes
0answers
49 views

How to use ArcGIS JavaScript API for ArcGIS Server service, where to save code?

I have found some sample codes online for implementing traditional map components such as legends and scale bars to an ArcGIS Server service. ...
0
votes
1answer
190 views

How to add Map Legend, Scale Bar and Select tool to an ArcGIS Server Service?

I have published a service from ArcMap to my Server Account but I can't figure out how to add the legend, scale bar and select tool to the service. According to the published service it was built ...
3
votes
1answer
212 views

Semi-circle representation in legend - ArcGIS!

I have a little problem that needs solving. How to represent the legend in ArcMap as in the picture above? Or as semi-circle instead of complete circles?
0
votes
0answers
45 views

Arcgis custom Legend rest service

There is a description for Legend services on arcgis web site. The legend supports the following layer types: ArcGISDynamicMapServiceLayer, ArcGISTiledMapServiceLayer, FeatureLayer and ...
0
votes
0answers
47 views

Why does QGIS 2.0 print composer not render the legend names?

I made a map using the print composer in QGIS 2.0. However, in the legend it does not display the name of all the items listed. I have updated the legend items, removed the items and added them again ...
0
votes
1answer
55 views

how display graduated symbol in the legend in print composer?

this is the problem: why the graduated symbol is not reported at all in the legend of the print composer? it is a bug or i am doing something wrong? here below the image that shows the problem
0
votes
0answers
79 views

How to add Esri legends for basemap within Leaflet JS?

I have a map with the Esri REST population density basemap. I also have 5 geoJSON layers with a legend. What is a method to display the Esri legend when my geoJSON layers are turned off and my ...
2
votes
1answer
559 views

How to add a legend and toggle the legend with a layer in Openlayers?

I'm currently trying to add a legend to my map and to show/hide it, when the corresponding layer (an image layer) is shown/hidden. My approach was to add a custom button with a .png of my legend. That ...
1
vote
1answer
450 views

How to use PyQGIS ( Python QGIS API ) to open/close Update Drawing Order checkbox in QGIS2's Layers (Legend Interface)

Thanks qgis 2, the Legend Interface (layers dockwidget) now has Update Drawing Order check box on right-click mouse context menu. I think this feature can let user temporally closes rendering, then ...
2
votes
1answer
608 views

Labelling pie chart legend entries by alias in ArcGIS 10.1

When generating pie charts in ArcGIS, it appears that the legend entries generated for the different slices are named based on field name, rather than the field alias. I've done some research, and ...
2
votes
1answer
781 views

How do I get data to display on the map legend?

I am trying to use the Legend widget from this link below to build a legend that displays our layers in the map: https://developers.arcgis.com/en/javascript/home.html I have added the legend widget ...
0
votes
1answer
185 views

When will QGIS use the WMS supplied legend images ? is there a workaround?

I use a lot of wms services with complicated maps : a legend is essential. Qgis displays none of those legends. The URL is quoted in the metadata. example WMS ...
0
votes
1answer
36 views

How to make pen style show up correct in QGIS map composer legend?

As far as I can tell, yes I've updated the legend. See new screenshot. It's like the field width is cutting them, they all begin with one long and then one short line.. I have a several different ...
0
votes
0answers
36 views

Why legendLayerActions is not available in QgsLegendInterface

There's a reason why QgsLegendInterface (the python interface to QgsLegend) doesn't expose: QList< LegendLayerAction > QgsLegend::legendLayerActions( QgsMapLayer::LayerType type ) const method? ...
0
votes
0answers
46 views

How can I add/define a legend for RGB images in QGIS?

I have a RGB image in QGIS that is the product of some raster analysis (e.g. QGIS's relief operation, results from sound/traffic models) to which I want to add a legend. I'd like to denote several RGB ...
0
votes
2answers
246 views

How to print legend using GeoServer Print plugin?

I am using Geoserver 2.4.2 on windows. The print plugin works properly without the legend block. However if I include the legend block in my spec file, it throws an error. Following is my spec file: ...
1
vote
1answer
278 views

Why does ListLayoutElements give IndexError: list index out of range?

When trying to create a legend on ArcMap use the following Python/ArcPy code I received an error message: import arcpy mxd = arcpy.mapping.MapDocument(r"E:\cities\MyProject.mxd") df = ...
0
votes
1answer
133 views

How to use map service legend on ArcGIS Online?

How can I use the legend of a mapservice as part of a AGOL generated webmap? This is the map I have created which does not have a legend And this is the map service in use ...
3
votes
1answer
530 views

How to allow for multiple lines in legend?

How can I force the description text in my legend to occupy more than one line? This is basically the same question as asked before. However, I want to use Categories/Unique values and not ...
1
vote
0answers
34 views

QGIS 2.0 have a Legend Limiter feature? [duplicate]

I found this old post (concerning QGIS 1.x) Is ther a Legend Limiter in QGIS? and was wondering whether this had been solved in QGIS 2.0. Is there a way of only showing the attributes in the legend ...
4
votes
1answer
197 views

QGIS - Changing Legend Size with Python

In QGIS, I use the python console to generate image files through the composer. In particular, I am creating a map with a legend. The legend is too big. It occupies about 1/8 of the image. I would ...
1
vote
0answers
122 views

How to add Legend Panel to Dojo / Openlayers?

I have openlayers app on dojo framework. I've been serving WMS layers with geoserver and wanted to use GetLegendGraphic to build legend for all layers. I've seen there are some ready widgets (like ...
5
votes
1answer
208 views

Legend of a raster map with categorical data

I would like to plot a raster containing 4 different values (1) with a categorical text legend describing the categories such as 2 but with colour boxes. I've tried using legend such as : legend( ...
4
votes
2answers
272 views

How to create new legend using ArcObjects?

I am trying to add simple legend to the map. I wrote some simple test code below to see what happens but it did not work. var map = activeView.FocusMap; IGraphicsContainer ...
1
vote
1answer
63 views

Legends for WMS layer on Geoserver

Is there any way to get a representation of a WMS legend in a form that isn't an image? eg XML Using an image for the website in our system will mean the text is not sharp, it doesn't resize with the ...
3
votes
1answer
223 views

how to disable duplicate items in the legend for ArcGIS JavaScript API

I have a problem with duplicate items in the legend panel! Can anyone help me? This is my feature Layer with popup info: // Feature Layer var msFeatureLayer = new ...
1
vote
1answer
307 views

Leaflet Legend fixed image? not SLD?

I have a style pulled from my GeoServer and have created a basic legend, with a fixed PNG. However I was wondering if it is possible to have this legend be pulled from the layers SLD? so that if the ...
1
vote
1answer
243 views

ArcMap: How to create legend for specific data frame?

I'm coming up a problem in map production where I have two data frames, but it seems like I can only create a legend using the items in the original data frame (the order doesn't seem to matter as I ...
2
votes
1answer
231 views

Change label next to symbol in TOC

I'm trying to write a script to change the label next to the symbol in the TOC so it appears in the legend. Arcpy has a way to change the name of the layer, but I can't seem to find a way to change ...
3
votes
1answer
173 views

Flip over min/max values in a stretched symbology for raster data

In ArcMap 10.1, we can render a raster in a colour ramp (stretched) symbology to draw a raster layer based on each pixel value. However, the legend for the layer by default starts from the max value ...
4
votes
3answers
111 views

Alternative layperson-friendly names for 'Legend'?

I am making a mobile mapping app that has a button that displays a legend. Because my legend is initially hidden from view, it is really important the text I put in the button that displays the ...
2
votes
1answer
205 views

Why does ArcGIS for Desktop legend not always show symbol as desired?

I have a problem with the legends in the ArcMap because the patch does not show the marker symbol inside it well. Whenever, I move the legend it changes but never to what I want for every patch. I ...
3
votes
2answers
187 views

Different legend properties with ArcGIS API for JavaScript

I have a map template that I use to display a variety of feature layers and dynamic layers. I have found a snippet of code to add the legend to my map: //add the legend dojo.connect(myMap, ...
7
votes
1answer
6k views

How to Add/Remove Legend with Leaflet Layers Control?

I have two overlays http://02d0c8c.netsolhost.com/dev/lcb_census_layers3.html that can be turned on and off with a Layer Control. I’d like the legend for each layer to turn on/off along with the ...
0
votes
1answer
101 views

SDK GXP Legend OpenGeo Suite Scroll?

Is it possible to have the legend scroll using the OpenGeo Suite SDK and GXP. Following this tutorial Tutorial LinkIt is possible to have it any size if external as the height and width can be changed ...
1
vote
0answers
186 views

GetLegendGraphic with WMS layers in QGIS Server

I've created a project in QGIS where I've loaded some WMS layers. Now when I look at legends in QGIS Web Client, it just displays the label but not the associated color. Is it possible to have the ...
4
votes
1answer
73 views

Automatic selection of legend object in QGIS

I'am using the Corine Land Cover data for a projet. There is around 40 types of land use in this database. In my print composer with my scale (1:20 000) I neve have more than 10 type of land use. I ...
1
vote
1answer
73 views

Legend question

I am trying to input acress right next to values in the Legend; however, I was not able to . See here Even though I know how to do the Legend Properties. See here Can you point me where can I point ...
3
votes
2answers
990 views

How to set proportional value in legend?

I have a GIS table with traffic flows.The thickness is proportional to the traffic value and I'd like to have a little legend with 3 links proportional to setted value (eg: link1 proportional to 100 ...
2
votes
0answers
51 views

Moving legend items up and down in QGIS

How can I change sort order in layer properties styles tab? The only way I've found is to change their labels and order by it.
6
votes
1answer
154 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
0
votes
1answer
334 views

GeoExt: Turning off layer title in legend

I am using GeoExt for my web mapping project. My web map includes a legend generated by GeoExt. Is it possible to turn off the layer title for a specific layer in legend? I am aware that there is a ...
1
vote
1answer
383 views

GeoExt: Excluding some of the layers from the legend

Openlayers and GeoExt for producing a web map. The map has a legend panel generated by GeoExt. By default, GeoExt grabs the details of every layers from the map and create a legend for all the layers. ...
2
votes
2answers
265 views

How can I create a legend with the new data defined symbols functionality?

I have a large geology data set that I need to display using an industry standard set of symbols and colours. The symbols and colours are attributes of the data. I have been using the data defined ...
5
votes
2answers
306 views

How to remove white gap in ArcMap Legend

I have a legend created in ArcMap 10.1 which appears to be generating an abnormal white gap to the right of the legend content. Any tips on how to possibly remove this would be appreciated.