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

learn more… | top users | synonyms

0
votes
1answer
74 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
110 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
1k 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 ...
2
votes
1answer
669 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
1k 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
1k 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
278 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
39 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
45 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? ...
1
vote
2answers
337 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
403 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
165 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
898 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
36 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 ...
5
votes
1answer
246 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
141 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
290 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
387 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
94 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
279 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
420 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
354 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
321 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
262 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
120 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
370 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
267 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, ...
8
votes
1answer
8k 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
129 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
219 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
82 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
76 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
1k 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
63 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
189 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
393 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
467 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
327 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
415 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.
0
votes
0answers
84 views

Flex API: is it possible to fit the legend into a fixed frame using print widget and custom templates

does anyone have experience with trying to fit the legend of the WebAPI into a fixed frame when exporting the map to a pdf? I am using a custom template to export my map and I just cannot get the ...
0
votes
0answers
156 views

MapInfo 11.5 - Zoom in Legends

Good afternoon ! With MapInfo v 11.5, we can use the zoom feature in a thematic map legend, so that it plays along with the map zoom (Release Notes: "The zoom feature uses a paper-based scale, so ...
0
votes
1answer
206 views

Legend is stuck on startup()

All my layer URLs and Feature Layers are stored in an array. with an foreach loop, I am creating the FeatureLayers from the URLs, dojo.forEach(window.layerUrls, function (info, idx) { ...
0
votes
1answer
291 views

ArcGIS Javascript Legend Is not Showing

I am trying to add a legend, and it gets to the console.log, but it fails at on the line after it. It does not show any errors saying it failed, but it wont continue past that line. map[map_div_id] ...
5
votes
2answers
915 views

Legend showing info for world map

I'm using ArcGIS 10.1 API for JavaScript. I'm showing dynamic map service layer containing 8 layers and I want to show legend for the currently visible layer (only 1 layer is visible at a time). The ...
2
votes
1answer
298 views

Using multiple LayerIDs in a Legend

This should be simple, but I cannot find any documentation on how to do it. I have a legend that is bound to my map that contains several layers. I do not want all of the layers to appear on my Legend ...
3
votes
1answer
177 views

Is there any way to have the legend text above the symbol and beside it, not just above?

Is there any way to have the legend text above the symbol and beside it, not just above? What i do at present is to cut the end of the text off and insert a label then group them, however i want to ...
0
votes
1answer
191 views

Legend not scaling with the map in Mapinfo

I have a problem with the legend designer, when I produce an A0 plot the legend does not scale up with the map.
5
votes
1answer
303 views

How do you format the legend in Geoserver when using GetLegendGraphic?

I'm new to the world of GIS and geoserver so sorry if I'm asking an obvious or simple question. I'm using GetLegendGraphic to create a legend for a raster layer on the server, as it stands it looks ...
2
votes
1answer
805 views

Legend labels for Vector layer symbols - how to name them (GeoEXT)

I'm coding with GeoExt and I have some problems trying to display the names of diferent features in a vector layer. This is my code: mapPanel = new GeoExt.MapPanel({ map: map }); legendPanel = ...
4
votes
0answers
257 views

Make Graph (Data Management), Changing item names in legend

I'm having python produce a multi-series graph. How do you change the series name in the legend, the default being Vertical Bar, Vertical Bar1, Vertical Bar2.... Thanks for the help ...