Closed KubaSzostak closed 5 years ago
@KubaSzostak I am unable to reproduce this TypeError. Where is your application hosted? On your own web server, in your Portal, or in ArcGIS Online?
In December we added a configurable option to the Search Radius section on the Reports tab that will allow you to load the application without asking for the user's location.
You have to enable Geolocation in your browser. Issue raised on ArcGIS Portal 10.6.1 and AGOL. My today's sample on AGOL still has this issue: https://umgdy.maps.arcgis.com/apps/CrowdsourceReporter/index.html?appid=db35ecd36baf45298d297eedaa45d06e
Steps to reproduce: https://youtu.be/LJjSAsJ-6Is
@KubaSzostak I can reproduce it now. The trick is to configure the app with a value and then remove that value.
In the meantime, I suggest configuring a value and then using the option to 'Allow users to access the application without prompting for their location'.
If one leaves "Initial search radius" empty application hangs up with TypeError: Cannot read property 'getExtent' of null. It would be great to have ability to set "Initial search radius" empty which will have the same behavior as denying to share their location by user. It shouldn't even check location if this value is empty.