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

learn more… | top users | synonyms

0
votes
2answers
471 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 ...
1
vote
1answer
36 views

Print composer - legend - graduated

I have a map with graduated symbology, with 328 unique values. I would like add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. I ...
1
vote
2answers
32 views

ArcMap legend column formatting

I'm trying to spread my ArcMap legend across 3 columns. Ideally column #2 and #3 should have their symbology header / layer name above them (see picture). ArcMap however is of the opinion that ...
3
votes
1answer
395 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 ...
2
votes
2answers
446 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
3answers
1k views

How to remove empty classes from legend in ArcGIS Desktop?

I have a classification image with only 12 classes. I'm preparing layout using this image. when I add legend into layout page, a lot of empty classes loaded together with these 12 classes. Totally 255 ...
0
votes
1answer
23 views

GlobCover 2009 dataset - importing legend and colormap values into R

Does anyone know how to import a legend for a raster layer (loaded as a .tif) into R such that it can be attached to the raster file itself and used in plotting? In this case, I am using the GLC2009 ...
0
votes
0answers
40 views

browser crashes when loading legends at startup

After much perusing for solutions, I've decided to post my problem as a question. I'm trying to load the legends that are built into the ArcGIS Service Layers I'm using. I'm loading about 7 Dynamic ...
6
votes
1answer
251 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 ...
1
vote
0answers
20 views

How to add legend to Mosaic Dataset (ArcGIS Image Service Layer)

I have snow cover data of MODIS (46 images for an year) I put them in a mosaic dataset (with in a file geodatabase) and published them as an Image Service from ArcCatalog and added a time slider. I ...
1
vote
1answer
225 views

Add legend from raster catalog? ArcGis 10.1

Does anyone have a solution on how to add the legend from a raster catalog? It does not show up, either in version 10.1 or 10.2.1. It only shows the name "Legend".
0
votes
0answers
20 views

the text box to wrap using a rectangle format

I'm looking for a way I could format the text box to wrap using a rectangle format. Could I call it in the getFormattedstring? // Format the legend text if it is not a heading. If it is, we're ...
1
vote
1answer
187 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 ...
0
votes
1answer
40 views

Second Page for Legend in ArcGIS for Desktop?

I'm looking for a way to have a second page in the layout view in ArcGIS 10.3. The map I'm making fills the whole page and I'd like to make the legend go onto a second page. Other solutions are ...
0
votes
1answer
25 views

Filter (no display) layers in GeoExt.LegendPanel with names LIKE some pattern

This works to avoid Basemap layers such as Google Maps and overlays such as WMS to appear in the GeoExt Legend Panel: var legendPanel = new GeoExt.LegendPanel({ border: false, filter: ...
7
votes
2answers
2k views

How to create a vertical scale bar in ArcMap?

Wondering if anyone out there knows how to create a vertical scale bar in ArcMap? With text I can adjust the angle. Is this possible with a scale bar as well?
1
vote
1answer
77 views

CartoDB choropleth + bubble visualization legend

I have been trying to display two values simultaneously i.e. one absolute value displayed by bubble size (as with layer wizard: bubble) and one relative value displayed by color (as with layer wizard: ...
0
votes
0answers
20 views

With ArcGIS Server's REST API, can I request a non-default symbol size when requesting a legend JSON?

I am using the ArcGIS Server REST API to retrieve legend information for one of our map services. I am requesting that information as a JSON object, so my HTTP request URL looks like this: ...
1
vote
0answers
13 views

Default item on legend for QGIS

when I make a legend in QGIS, everything shows up how it should except for one item. The item is just a pale brown color that says "default". I can't find this item in any of my layers and have no ...
1
vote
0answers
22 views

Remove Legend from CartoDB Layer

I am trying to remove the legend associated with the current CartoDB generated map and replace it with a legend from a map generated when the user selects a radio button. My code is as follows: ...
1
vote
1answer
363 views

Spplot labels in R how to change

Can anyone tell me how to change the labels in a legend created by spplot in R? It is a typical vertical ribbon legend automatically generated by spplot. Based on color, it is labelled 1-7 but I ...
0
votes
0answers
44 views

Toggling layers with legends in CartoDB.js?

I created a map on the CartoDB website with multiple layers, each with its own legend. I now wish to use CartoDB.js to be able to toggle between the layers, so the legend will toggle on with the ...
3
votes
3answers
488 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 ...
2
votes
2answers
75 views

How to display multiple attributes in a QGIS Composer legend?

I have a polygon layer which has a number attribute and a text attribute. When I make a legend in the composer, it automatically chooses the number to display while I would like to have both the ...
2
votes
1answer
45 views

How to create legends with triangular end boxes in arcGIS?

I simply want my legend which is now in the form of the left bar in the following image, to be shown in the form of the bar in the right side. I couldn't find anything related for arcGIS. those anyone ...
1
vote
2answers
50 views

Headings in legends

Is there a way, in the legend, to get the headings to stretch across multiple columns? For instance I have a layer with multiple attributes that are being displayed (in the example... fire hazard ...
0
votes
0answers
36 views

Removing commas from ArcGIS Online legend?

Right now I am working on a map using zip codes and have gotten the thousands comma out of the attribute table, but that is not changing the way it is showing up in the legend. Does anyone out there ...
1
vote
3answers
701 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 ...
2
votes
1answer
76 views

What's the QGIS Legend Format Syntax to have thousands separated by commas?

I have numbers in the millions and would like to know what string to enter in the Legend Format box to have thousands separated by commas ex: 2,000,000
0
votes
1answer
60 views

How to add arrow symbol in legend of CartoDB?

I have been trying for some time now to get an arrow to appear in my legend in a CartoDB visualization - it is one of the simple visualization marker options along with the standard "ellipse", so I ...
2
votes
1answer
88 views

Can QGIS place diagrams in map legend?

I have this map and I want to put these red circles in the legend of the map according to this form: Is there a way to do that in QGIS? Thanks
1
vote
1answer
65 views

How do I read and modify heat map value classification on QGIS?

I am trying to create a heat map on human encroachment using the heatmap plugin of QGIS 2.2. I have no problems creating a good looking raster file using a 2 km radius but I can't find my way around ...
0
votes
0answers
31 views

Default Legend Items

Is there an option to default a layer to be turned off in the legend items when making a new legend? I end up making random maps throughout the week and it would be nice to have my SID layers default ...
0
votes
0answers
52 views

qgis 2.8 - composer: lock layer styles into the legend?

Using qgis 2.8 there is now the opportunity to lock layer styles for map items. Is there a way to lock the same layer style into the legend that correspondent with the same map item? I tried both, ...
2
votes
2answers
68 views

What exactly to write inside legend_exp column so that color Legend is seen in Qgis2Leaf?

I am new to qgis2leaf. I am getting the through qgis2leaf plugin. But as one can see i am not getting a color legend. I need to get the colors of bldg_use so that the map becomes readable. I needed ...
1
vote
1answer
61 views

How to remove a layer and its legend in a standalone pyqgis application?

In continuity in my question "How to add a legend to a canvas in a standalone PyQGIS application?" > In every addition of a new layer in my standalone application, the legend lengthens and becomes ...
1
vote
0answers
52 views

How to change symbol size in QGIS map composer legend?

I need to set an identical size to several symbols inside a QGIS map composer legend. The 'Symbol' menu in the Legend properties allows to set a height and width but this has no effect on the size of ...
1
vote
1answer
53 views

Horizontal Legend Leaflet.js

I'm trying to make my legend horizontal em leaftlet by I'm not sure what I have to change. My base legend is based on this tutorial. Ultimately what I would like to have is something like this. Any ...
4
votes
2answers
183 views

How to add a legend to a canvas in a standalone PyQGIS application?

I am trying to develop a standalone PyQGIS application. The map display does not pose any problems, but I do not know how to add a legend to the canvas.
2
votes
2answers
84 views

A raster map without a legend?

I simply download a map from here http://neo.sci.gsfc.nasa.gov/view.php?datasetId=MCD12C1_T1. this map is a tiff file. mapd <- raster("C:\\MCD12C1_T1_2011-01-01_rgb_1440x720.TIFF") plot(mapd) ...
0
votes
2answers
417 views

Getting BaseMapToggle error from ArcGIS API for JavaScript?

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> ...
0
votes
0answers
96 views

Legend for MCD12Q1 modis land cover data

I have Modis yearly 500m landcover data (MCD12Q1) i native .hdf format . I projected , mosaicked and converted them into .tif format whose values are from 0 to 16 . I set nodata value as 17 . I just ...
1
vote
1answer
394 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 ...
1
vote
1answer
62 views

legend colour with specific value

i have model plotted in R base<- raster("example.tif") plot(base) image i'd like to change value (0,5,10,15,20,25) breakpoints<-c("0,5,10,15,20,25") plot(base,break=breakpoints) Error in ...
2
votes
1answer
104 views

Go through items in a composer legend (QGIS 2.6)

I'm trying to develop a plugin in QGIS 2.6, which opens a composer, add a map and a legend, and (among other things) adjusts the legend. Is there a way to go through items in a composer legend with ...
2
votes
1answer
468 views

Why do some Customised Symbols look good in map but disappear from Legend on Export?

I am using ArcGIS Desktop 10.0 I created some customised symbols for my map which ArcGIS Desktop did not have. To do this I used BMP files and imported the symbols. They look good on the map but do ...
0
votes
1answer
108 views

Showing multiple attributes in legend of ArcMap?

I have two questions regarding creating the legend in ArcMap 10.2.2: In the attribute table of my shapefile I change the number of decimals from 6 to 2; I can see the changes in the attribute table ...
1
vote
4answers
3k 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 ...
3
votes
3answers
295 views

Openlayers 3 get legend not working

So I am trying to display the appropriate legend for my first map. This is my javascript for my first_map. function firstmap() { var first_map = new ol.Map({ target:'FirstMap', ...
2
votes
2answers
1k views

Create Legend with Openlayers 3 / geoserver

I am using OpenLayers 3 and Geoserver to create a map. I would like to create a legend for the map that I have created. I've been looking for a good example I could base my map legend off of, but was ...