add Map createPane/getPane methods, close #1742