Applying and positioning hotspot icons optimally