Thumbnail url for BaseMapLayer by type?

Discussion created by lordcasb on Jun 2, 2011
Latest reply on Jun 20, 2011 by dewright_ca
When you create a BaseMapLayer using the type argument, e.g.
     type: "OpenStreetMap"
there does not seem to be any way to get the thumbnail url for that type.
Is the only choice to hardcode the url? Is there some way to retrieve the appropriate url and use it when creating a basemap from that basemap layer?
This is part of a project to update my widgit of a dijit.layout.ContentPane with an embedded map object and now an embedded gallery. I would like the addBasemap layer function on that widget to be able to accept a basemap layer type as an argument, but it looks a bit dumb when the thumbnail is blank.