Added example+documentation for maptype directive, defaulted show attr to false in case where id attr is defined