#select query, #featurelayer, #goto
hi, how are you.
I have 2 layers, active wells and inactive wells,
I have to do a query in active wells, but if I not found I have to do a query on inactive wells,
can I do a concat ? the layer one and two ?? or do a query on two layers ????
const query = new Query();
query.where = "WELLCOMP_NAME = '" + aux.dsWellComp + "'";
pozosA.queryExtent(query).then(function(results){
view.goTo(results.extent.center);
});
const query = new Query();
query.where = "WELLCOMP_NAME = '" + aux.dsWellComp + "'";
pozosB.queryExtent(query).then(function(results){
view.goTo(results.extent.center);
});
regards
Eduardo
The GeoNet Resource Hub space is for questions about GeoNet itself. I am sharing your question with Analysis to get more visibility.
ok, ok, sorry I did not realize.
thanks !!!