Skip to main content

Posts

Showing posts from June, 2022

Show the Marker on Map using Google Map JavaScript API in ASP .NET

In this articles we learn how to show the marker on the google map in ASP .NET Application. The articles proceeds through the step to integration of the google map API's and Show the marker on the map.   Step 1: Create a new project in visual studio.  Add a new web form or existing form. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head> <body>     <form id="form1" runat="server">         <div id="map" style="width: 100%; height: 500px;"></div>     </form> </body> </html>   Step 2: Next Add Script for loading the map and maker. Add the following script in the head section. <head runat="server">     <title></title>     <script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>     <script src="https://maps.googl