Add legend to the map
1 |
ol |
map widget |
colors |
vector of colors |
labels |
vector of text labels corresponding to the colors |
title |
title of the legend or |
style |
list of css style definition applied to the legend (container) |
overlay |
display on top of the map or below? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.