How to create World map with mouse clicked longitude and latitude using Blazor Application?

Raja Ganapathy 1 Reputation point
2022-08-05T09:52:36.28+00:00

I want to create one Blazor application and display the World map and fetch the longitude and latitude and weather information when click the position.

Developer technologies | .NET | Blazor
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,766 Reputation points Volunteer Moderator
    2022-08-10T15:48:59.027+00:00

    this can be done with either google or azure maps. both supply a javascript client api you can call with blazors javascript interop. the api are similar, include the script file, on the page, define a div to host the map and call the javascript init. all easily doable from blazor.

    https://learn.microsoft.com/en-us/azure/azure-maps/how-to-use-map-control
    https://developers.google.com/maps/documentation/javascript

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.