Remove unused variables. Fix warnings
Merge pull request #1150 from igorko/master

Remove unused variables. Fix warnings
If an event has a hotspot, use the hotspot center for the center point

This fixes triggering events that have a hotspot that isn't the event
location.
Merge pull request #1151 from dorkster/fixes

If an event has a hotspot, use the hotspot center for the center point
Merge remote-tracking branch 'upstream/master'