Location Widget Disabled

12-10-2020 12:22 PM
New Contributor

I'm running an application on a local development server using the Javascript API v4.15.  The location widget is disabled, however. It reports a "Cannot locate when disabled" error when using debug tools.

Searching around, it seems that https needs to be enabled in order for browsers to support location services. The site is running with HTTPS.

I've tested by using the basic HTML5 geolocation tools (navigator.geolocation.getCurrentPosition) and that works fine over HTTPS, it doesn't work if I access over HTTP (as expected).

Is there anything I'm overlooking?

SOLVED: Merely a typo on my part. Oops.



Tags (1)
0 Kudos
0 Replies