adds max-img css for map marker