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

learn more… | top users | synonyms

0
votes
0answers
82 views

Legend in FlexViewer - Only show classes that are visible in the current map extent

I am using ArcGIS Viewer for Flex to create web map. The legend widget can be set so that the legend in web map to only show layers that are available at the current map scale. This is great but I ...
4
votes
1answer
207 views

Continuous color band for a raster legend in QGIS composer legend

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
0
votes
0answers
37 views

Getlegendgraphic not working due to roundDouble

I have some layers at geoserver with working symbology and labels defined by sld style. On some layers request getlegendgraphic works fine, but on layers, where there is rounded value of label, the ...
3
votes
0answers
26 views

MapInfo 12 Legend settings

Does anyone know how (if) I can set the defaults within Legend Designer? I want my rectangles for each layer to default to a 20x20 square, not a rectangle. At the moment I have to change it manually ...
0
votes
0answers
24 views

Why are legends absent from ArcGIS Online map service?

With reference to an older thread I posted, (How to use map service legend on ArcGIS Online?) We have installed a security certificate for our host machine, but the absence of a legend using the AGOL ...
-1
votes
1answer
70 views

How to have custom symbols show up in Symbol Selector of ArcGIS for Desktop?

How do you get Petroleum symbols into the Map legend box (not the content table) instead of the standard "circle or square"? I am looking to use the Unkown (black symbol) and Active / Producing ...
0
votes
2answers
241 views

arcgis javascript api legend and basemaptoggle error

I'm having a problem with my Web Application. I try to fit in a legend and a BasemapToggle but it doesn't seem to work. My Code looks like this: <!DOCTYPE html> <html> <head> ...
1
vote
2answers
174 views

Displaying representation symbology description in legend of ArcGIS for Desktop?

When a layer with Representations is turned on, how do you change the 'Description' in the Legend. The setting is normally under the symbology tab and it is not visible when Represenations are turned ...
3
votes
2answers
435 views

How to remove <VALUE> text from legend in layout view?

I'm producing a map in the layout view which I will eventually export as a jpeg. I've added a legend which includes 15 classes but when I insert a legend in layout view its including the word VALUE at ...
0
votes
1answer
164 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
0
votes
3answers
271 views

Show “layer name” as text in arcgis layout view (map)

I am trying to show the layer names of all visible layers in ArcGis 10.1 when creating a map in layout view. First I tried to use "insert legend" and show there only the layername, but I can't ...
3
votes
1answer
231 views

How to create leaflet legend for points

I have points like this in a leaflet map. The points come originally from a GeoJSON file and I used L.circleMarker to convert them to circles. How can I create a legend for these points? Based on ...
1
vote
0answers
74 views

GeoExplorer - Show layer by default in published map

I am able to publish a map using GeoExplorer and can add the icon on the published map to show the legend. However, I'd like the legend to appear on the published map by default. Is there a way to do ...
0
votes
1answer
41 views

QGIS Legend horizontal not vertical

Hi is there an easy way to have the legend linked to the size of the box it is drawn in. So instead of running down the side of the page, it will be across the bottom in columns? Does that make ...
1
vote
3answers
847 views

ArcGIS 10.1 Legend - Increase Icon on legend without increase on map

Was wonder if anyone knows how to increase a icon on the legend without it increasing on the map. I have to print an A0 and when I look at the legend the icons for each type are quite small...any ...
9
votes
5answers
488 views

What would be a good symbol for the map legend itself?

I am reformatting a mobile web map. Many of our users are equipped with mobile phones rather than large tablets, so screen real estate is at a premium. I've decided to remove the legend from default ...
1
vote
2answers
454 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
422 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
114 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
130 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
33 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
53 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
266 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
238 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
57 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
50 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
62 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
95 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
849 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
537 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
828 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
229 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
41 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
49 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
279 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
325 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
150 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
688 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
35 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
216 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
127 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
249 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
313 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
71 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
244 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
356 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
300 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
276 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 ...