width: max + "px",
height: max + "px",
Does this code add an extra element (the .spotlight element) and ads the spotlight-class to it?
There is already a class with the name .spotlight.
On evt.result.feature.geometry (actually I want to see all the objects the event handler pass as argument). Where are all these properties?