Added geolocation and working polygon element