Add legend to the map.
add wrapper and perevntile->interger
small bugs in wrapper
small bugs in wrapper
small bugs in wrapper
 small bugs in wrapper
debug
debug
debug
smallr changes
Merge remote-tracking branch 'origin/master' into 197