Open mkArtak opened 4 years ago
@mkArtakMSFT when do you expect this feature to be available? I am contemplating using GeoLocation in one of my projects, obviously I'd rather use something that is directly baked into Blazor.
@daniel-p-tech this is not committed work at all. Assume it'll be something we will decide to do, it'll be available no earlier than .NET 6 timeframe. That said, consider using some community-provided alternative for now.
I would be more in favor if we can improve JS interop to the point where you can do these things inline, or with a really light thin wrapper.
We've stayed away from shipping DOM APIs as these tend to change frequently. We would have to think how APIs like these work in scenarios like Prerendering.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Location-based applications are widely popular. It's even somewhat rare to find a website which doesn't have access to user location for some reason. It would be great to have a first-class mechanism in Blazor to get user location. This would expose the underlying browser GeoLocation API