Does it work with other browsers? e.g. Safari?
Possibly the corresponding location services are not enabled in macOS.