I am working on a ASP.Net project(c#). I have SQL Server Database linked with it. The project has the list of companies present in the city. A page will show the list of companies on a datagrid . Clicking on a company will redirect to another page which show the details of that company. I want to display Google map picture or Google street picture of that company along with the details on that company details page through Longitude and latitude. Each hotel’s details will be fetched from the database to show on that page and every hotel’s longitude and latitude value is also saved in a column in the database.
How can I display Google map picture or Google street view picture with reference to that Longitude and Latitude value that have came from the database?
1.Your cs function to get lat and lan from DB
2.Reference Google Link and Create a div with Id ‘mapStreetView’
3.Your JS in aspx page
4.Calling JS function (at the Bottom of aspx page,so it dont affect any other JS)