app.data.setCurrentPointByIndex(result.graphics.length ? 0 : -1);
var urlParams = esri.urlToObject(document.location.search).query || {}; var index = parseInt(urlParams.index); if( index && ! Number.isNaN(index) && index <= app.data.getTourPoints().length ) app.data.setCurrentPointByIndex(index - 1); else app.data.setCurrentPointByIndex(result.graphics.length ? 0 : -1);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.