A where-indication is no object and a direct object has no preposition.
Added
And I would not use the term object for two different things. Actually that is confusion of grammar terms even if the use of "object of a preposition" is frequent. Some use the terms complement, I would prefer a completely new term, perhaps preposition and its connected noun.