简体   繁体   English

Sugurim映射不适用于ASP.NET向导

[英]Sugurim maps are not working with ASP.NET wizard

When I put the subgurim map into the asp.net wizards second step then getting error as below. 当我将subgurim映射放入asp.net向导的第二步时,出现如下错误。

Uncaught ReferenceError: google is not defined 未捕获的ReferenceError:未定义google

If anybody can help then very appreciated. 如果有人可以帮助的话,非常感谢。

Thanks, 谢谢,

I got the same error when upgrading and using the map in a user control. 在用户控件中升级和使用地图时,出现了相同的错误。 I had to manually add <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=SET_TO_TRUE_OR_FALSE"> into the user control and it now works fine 我不得不手动将<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=SET_TO_TRUE_OR_FALSE">到用户控件中,现在可以正常使用了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM