Expose map renderer type in the API

This pull request relates to issue #2004
Well, this is really the same thing according to me. I'll commit that anyway.