Changed location functions to location_in_view

Changed deprecation message method

Routing fix

Deprecation message fixes

Small fixes

setLocation fixes

Fixed setLocation and renamed getLocationInView

Corrected getLocation call
Merge pull request #3276 from austenke/master

Moved location logic to location_in_view