[core] rename query options for query rendered features

This commit is contained in:
Ivo van Dongen
2017-03-04 18:44:13 -08:00
committed by Ivo van Dongen
parent d5c2920104
commit 548675a196
14 changed files with 26 additions and 26 deletions

View File

@@ -882,7 +882,7 @@ void NodeMap::QueryRenderedFeatures(const Nan::FunctionCallbackInfo<v8::Value>&
return Nan::ThrowTypeError("First argument must have two components");
}
mbgl::QueryOptions queryOptions;
mbgl::RenderedQueryOptions queryOptions;
if (!info[1]->IsNull() && !info[1]->IsUndefined()) {
if (!info[1]->IsObject()) {
return Nan::ThrowTypeError("options argument must be an object");