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

learn more… | top users | synonyms

6
votes
1answer
216 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 ...
4
votes
1answer
38 views

ArcGIS 10.1 Legend Issue: Gap when using the “only show classes that are visible in the current map extent”

I have a problem with a gap that appears when the setting "only show classes that are visible in the current map extent" is in use and when there is a number of items in a row that does not display; ...
4
votes
0answers
385 views

How to automatically format the legend labels? in QGIS

I have to do 10 maps (for a start) with "style" -> "graduate" with quantile mode. I need to format the label of the different ranges so that the legend looks comprehensible: Instead of having 1.0000 ...
3
votes
0answers
68 views

Lining up polygon legend patches in ArcGIS for Desktop?

I have tried the properties and everything, I cant understand why my polygons are not lining up correctly in the legend. I created this legend the usual way by adding my 3 layers to the legend wizard ...
3
votes
0answers
194 views

How to do bivariate or multicriteria line symbolization in QGIS?

Bonjour, je cherche à faire sur Qgis un tracé d'un itinéraire avec comme légende une couleur pour le type de route et la largeur du trait pour la fréquentation de cette route. J'ai vu qu'il était ...
2
votes
0answers
38 views

How to create a legend for quantitative visualization with increasing icon size?

I am trying to find a way to do a map and legend like this: I am using QGIS 2.6 Brighton. The only way was to do a pie chart but I think it's not possible to create classes. I can create circles ...
2
votes
0answers
52 views

How to change the group icon in legend via Python in QGIS 2.6?

How to change the group icon in legend via Python in QGIS 2.6? At version 1.x I did it this way: self.legendTree = self.iface.mainWindow().findChild(QDockWidget,"Legend").findChild(QTreeWidget) ...
2
votes
0answers
43 views

Using QGIS legendInterface from standalone

In Python console from within QGIS, we use qgis.utils.iface.legendInterface().moveLayer( layer1, 1 ) to make modifications to the legend. What is the equivalent in a standalone python script ?In ...
2
votes
0answers
111 views

Data Driven Pages - Dynamic Legend Classifications - Change with data frame extent

I am creating choropleth maps for quantified data. Each DDP will focus on a new county, which is shown by using a clip of the data frame (by the county boundary). I want to define quantified legend ...
2
votes
0answers
71 views

How can I programmatically remove a layer from the QGIS composer legend without removing it from the map canvas?

I am working on a QGIS Python plugin which includes automated map production. I use a series of map templates, each of which has a main map, an overview map (with a layer set different to the main ...
2
votes
0answers
36 views

how to display the legend when the map contains external icons in R

I haven't found anything about the legend when the map contains icons external R (in png), is't possible to use the legend function or another function in R.
2
votes
0answers
65 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.
2
votes
0answers
94 views

Map Package is not showing points on map

I am fairly new to GIS, but I am working on an interactive legend and I need to just be able to add a map package to the xaml and it place the points on the map. The legend seems to be working. All of ...
1
vote
0answers
20 views

Is there a limit of the number of legend labels passed to ArcGIS server print service?

Is there any limit on the ArcGIS print service for the number of legend labels? I am using ArcGIS server 10.2 and ArcGIS Javascript version 3.10 and am able to print with legend labels (item ...
1
vote
0answers
14 views

Identify based on legend items visibility

I have built a WPF app that has a dynamic legend that is refreshed as a user toggles on/off a layers visibility. I would like the identify task to only identify layers that are visible in the legend ...
1
vote
0answers
21 views

How can one modify map service legend (specifically raster layer)?

I've got the raster layer in my map service, which in fact is created automatically by asynchronous GP service as its output result ("View results with a map service" option). The raster is symbolized ...
1
vote
0answers
54 views

Legend not removed when layer changed

I made this webpage with JavaScript and CartoDB. The layer selector works like I expected it to but I noticed that the legend are stacking on top of each other and not being removed when the layer is ...
1
vote
0answers
59 views

Placing layer name beside their symbols in legend using representations of ArcGIS for Desktop?

I want to place the layer name of my feature class (styled with a representation) beside (right hand side) its symbol in the legend of my map in ArcMap 10.1. I know that the format can be changed ...
1
vote
0answers
52 views

Inverting color ramp in legend

I have inverted the color ramp to display land surface elevation, now when I add a legend in print composer it shows the lowest value at the top and the highest at the bottom. See below: It is more ...
1
vote
0answers
102 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 ...
1
vote
0answers
149 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 ...
1
vote
0answers
239 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 ...
1
vote
0answers
57 views

How to extract numbers from each vectors?

I'm trying to create custom legend for a layer where OpenLayers.Rule objects are created dynamically and added to a layer. new OpenLayers.Rule({ symbolizer: { ...
1
vote
0answers
121 views

Segmentation Violation in ArcView 3.1 while performing UpdateLegend?

I am loading a ".avl" legend file into ArcView 3.1 and I am plagued with a recurring Segmentation Violation Error when I execute the updatelegend command in the theme. It looks like the legend file ...
1
vote
0answers
209 views

How to bring Legends of basemaps from ArcGIS online on map layout

I have used some base maps from ArcGIS online as background. We use a GP tool to print maps from this MXD online. So, how can I include the Legends of these base maps on my printed map? I did not see ...
1
vote
0answers
481 views

Create a color scale/legend for choropleth map using geotools (or other open source Java library)?

I'm experimenting with choropleth maps using geotools. Is there an easy way to add a color scale to the map (using geotools itself or some other os library)? By a color scale I mean a bar that shows ...
0
votes
0answers
6 views

Dynamic Legend in Flex

I am using compiled version of ArcGIS Viewer for Flex (v 3.6) to create web map. I am using Dynamic Legend widget. I want to set the legend to only show classes that are visible in the current map ...
0
votes
0answers
17 views

CartoDB: Multiple Layers Legend override

I'm using Cartodb.js to add my cartodb layers in a web page. Currently I've two layers and both have legends. I'm using Cartodb.createlayer() function to add layers. The problem I'm facing is that the ...
0
votes
0answers
25 views

Legend label failed to send to the print service using ArcGIS javascript

I am try to print my map with legend to PDF format; however, the legend label in the PDF is saying Override 1 instead of the label I specified in class breaks. There are other maps I can print ...
0
votes
0answers
48 views

Apply Symbology to Layer - interval values are incorrect

I am creating Data Driven Pages that will ideally create a new legend with graduated colors that are specific to each county. I have created a model builder tool that clips a continuous polygon field ...
0
votes
0answers
43 views

How to set a background colour in a Legend Designer Window in Mapinfo

I am creating a map with a darkish background (using satellite images) and light coloured thematics. It looks fine except for the legend which doesn't display very well with just a white background. ...
0
votes
0answers
17 views

Restrict legend to map bounds in CartoDB.js

Does anyone know how to restrict legend content based on map bounds in CartoDB.js? I am building a large, complicated legend and I would like it to only display visible features to reduce complexity. ...
0
votes
0answers
190 views

Google Maps legend ? Where do I find it for more information about them?

Can anyone point me where can I found information about Google Maps and their legend ? Since Google maps does not provide their legend, they display their colors like by showing the tan colors as ...
0
votes
0answers
279 views

How to create dynamic legend for multiply layers with leaflet.js?

I want to create multiple choropleth maps which displays different statistical data with leaflet.js. So it would be nice to show different legends for each map. I create such legends for two layers ...
0
votes
0answers
40 views

Mapserver: Change legend font color from CGI Request

As the post title says I´m needing to alter the legend color in mapserver in a cgi bin request. Actually I have a website created in OpenLayers and Mapserver and I use legends with white font color ...
0
votes
0answers
31 views

ArcGIS javascript. Trying to use a dojo table of contents in CakePHP

Sorry for asking so many questions, but I am trying to learn arcgis, dojo, and cake all at the same time :/ Basically what I want to do is get this to work in the latest CakePHP. Where do I place the ...
0
votes
0answers
66 views

Graphic legend GeoEXT

UPDATE: The problem is that I got .x-hide-display for Legend graphic. SO I have the picture which is not displayed.. Can somebody help me with the graphic legend request. I have the following code, ...
0
votes
0answers
85 views

Is there any way to get qgis to show a key/legend for categorized colorization (heatmap) scales?

I have a shapefile of all of the counties for a state that is being displayed in qgis as a heatmap, colorized on a 12-point scale from red to green. The data producing the colorization is income or ...
0
votes
0answers
72 views

Graduated symbols not appearing in legend in QGIS print composer

When I add a legend in QGIS version 2.2 print composer, the symbols of a layer containing graduated symbols does not appear. Does anyone know how to make the symbols visible? Thanks.
0
votes
0answers
385 views

Add Legend with GeoExt in OpenLayers

I need help with legend display for a WMS layer. So far I did this: - insert a Google Map Hybrid layer - insert a layer called "Vladaia" for creating the page - insert CQL filter for WMS layer - ...
0
votes
0answers
48 views

Arcgis Legends of dynamiclayer Android

i tried to get legends of DynamicLayer but i have error. Declaration Dynamic Layer : ArcGISDynamicMapServiceLayer binaKullanim = new ...
0
votes
0answers
68 views

ArcGIS JavaScript problem with legend to show attributes

I'm running a geoprocessing task in my webapplication. When the task generated some results i destroy an existing legend and build up a new one that shows the legend for the resulting layers. That is ...
0
votes
0answers
100 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 ...
0
votes
0answers
45 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 ...
0
votes
0answers
30 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 ...
0
votes
0answers
137 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({ ...
0
votes
0answers
64 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
0answers
50 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
87 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
168 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 ...