Several months ago, the Google Street View worked well in my application in html format.
Then, I created an aspx page and loaded all of the HTML code into it. When I click the Google Street Map again, I received warning message: "Oops! Something went wrong. This page did not load Google Maps correctly. See the JavaScript code for technical details." Through Chrome F12, the error message is Google Maps API error:
MissingKeyMapError. Then, I checked https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
and followed the instruction (https://developers.google.com/maps/documentation/javascript/get-api-key ) and get the key. I copied pasted the code:
<script async defer src="https://maps.googleapis.com/maps/api/js?key=myKeyHere&callback=initMap"
type="text/javascript">
But I still get runtime error. Did I do something wrong? Thanks if you can help..