google maps api: how to disable commercial locations?

You can disable these advertisements by styledmaptype.

If you would prefer that your Maps API application not include these icons, you can remove them ahead of next week’s release by setting visibility:off on the labels element of poi.business for your map.

See : http://googlegeodevelopers.blogspot.com/2011/08/business-icons-and-styling-across.html

But remember, these labels are also hidden when you specify "visibility:off" for poi.business.

Otherwise, you can disable these advertisements if you contract with Google Maps API for Business license.