I tried a bit around and created a simple map with two polygons(most of the code I got from the Interactive Choropleth Map Tutorial).
I added a "L.control()"
to show information about the polygons in a div
.
Contrary to the tutorial I would like to have this div
outside the map.
To get a clue what I mean please look here: http://jsfiddle.net/Tbr9p/
Best Answer
Here you go. You just call the update method on the outside div, not the L.control element. I used JQuery for easier selection of the div.