I'm not a lawyer but it depends on what map service your pointing at. For instance if your using openstreet maps as your base map layers, they have certain rules such as putting a link to their page on the map (see their restrictions). For ESRI basemaps, I think those are mostly available to everyone but you might want to check it out at arcgis.com, etc.