0

enter image description here

I tried include the GoogleMap into Asp.net Web form by using the codes from http://www.w3schools.com/googleapi/tryit.asp?filename=tryhtml_map_many.

But when I run the codes, it shows the map for awhile and display the errormessage. Anyone can tell me what is the cause and how to solve it? Please enlighten me.

Tomislav Stankovic
  • 3,080
  • 17
  • 35
  • 42
WenJun
  • 69
  • 1
  • 11
  • As the error message says please check the Javascript console. Without knowing what the exact error is people won't be able to help you. Also please add the code that you have used. – Joyson Aug 02 '16 at 14:33

1 Answers1

0

Read This page didn't load Google Maps correctly. See the JavaScript console for technical details

In other words, you should obtain an API key to be able to use the map, and set it in the code

<script
src="http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY">
</script>
Community
  • 1
  • 1
user2316116
  • 6,726
  • 1
  • 21
  • 35