AnsweredAssumed Answered

My Location widget being active on start

Question asked by nkoski_mnpower on Nov 16, 2018
Latest reply on Feb 11, 2019 by tmanson_2

Hi there,

 

 

I am building a web app and ideally it needs to open at the user's location when they start the app. So far we have the My Location widget set up as an On Screen app, and it works perfectly when turned on/off, however, I have to actually turn the widget on. 

 

I was experimenting if there was a way to configure My Location to simply be active on startup. I tried adding the attribute "openAtStart": true to the widgets json config, but it does not work.

 

Is there an alternative method for the map to open and navigate directly to the user's location by default? The app will be mostly used from inside of an iframe, so might it be possible to configure the extent that way?

 

Thanks in advanced.

Outcomes