Expose map renderer type in the API

This pull request relates to issue #2004