Get location within a Vaadin app

How can I get the web browser user’s location from within a Vaadin application?

It depends™ on what you mean by “location”, but you could you try one of the following:[list]

[]

Window.getUrl()

[
]

URIHandler or ParameterHandler

[*]

UriFragmentUtility

[/list]

Or if you mean geolocation (not sure), see the
GeoLocation add-on
and e.g.
this page
. The add-on is quite old and might need some updates to work with latest Vaadin versions, though.

I wanted to try the geolocation API but it only works with Firefox. Thanks anyway

Anything newer that might work with Vaadin 8?