docs for createIcon and createMap