> one more thing about legend: how can i put it outside of the map. Instead of setting the legend's status to "embed" set it to "on" Then, in your HTML template, use the [legend] tag.