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