add support for mode=maplegend content dependant legend rendering (RFC101)

[ci skip]