Steps:
- Open Visual studio and create a new MVC Project.
- Then save the project in your local machine workspace.
- First create a folder in View named Location.
- Add cshtml in that location folder called Index.
- Now right click on controller-> Add->Controller->name it as Location.
- Make sure Index method is in controller.
- Now go to index page and copy below code.
Add the coordinates as your wish, from Google map. But the end result looks like:
Try this and let me know, if you face any difficulties. Thanks.