Binoy Kumar Binoy Kumar - 1 year ago 69
ASP.NET (C#) Question

Why GoogleMap is not showing with key and is showing with v in my .net project

I am struck in a problem while using google map in my .net project

<script src="" type="text/javascript"></script>

When I am using the above code I am properly getting the google map but if I tried to add key

<script src="" type="text/javascript"></script>

Map is not showing and also getting this error

Uncaught TypeError: Cannot read property '__e3_' of undefined

I also tried

<script type="text/javascript" src="//"></script>

But still it is not working.
Any suggesstion?

Answer Source

If you omit the "v=3" parameter, it defaults to the experimental version of the API (if you have a standard plan account). It appears that there is a fault with the experimental version that's not displaying a map at the moment. So add the "v=3" parameter in addition to the other parameters.

<script src="<YourAPIKey>&libraries=places&sensor=true" type="text/javascript"></script>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download