向 SP 2010 的 Bing 地图 Web 部件添加控件
我正在使用这个 WebPart 来显示 Bing 地图,我做了很多研究来找出答案,如何在其上放置控件,如链接中的图片所示,但没有找到任何提示,除了 AJAX 可能会有所帮助,任何人都可以给我请提示我应该搜索什么才能得到我想要的东西。
我实际上找到了我想要的内容,它位于此链接
< a href="http://www.microsoft.com/maps/isdk/ajax/" rel="nofollow">Bing AJAX SDK
但我想知道如何在我的 Web 部件中使用它,因为它给了我源代码,但如何将该源代码用于 Web 部件?
I am using this WebPart to display Bing Maps, I did lots of research to find out, how can I put controls on it as one shown in picture in link but didn;t find any hint except AJAX might help, can anyone just give me hint to what should I search for to get what i want please.
Desired Map (Controls in Blue background)
I actually found what I want, and its on this link
But I wonder how I can use it in my Webpart as its giving me the source code, but how to use that source for a webpart ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只需要地图上的控件,可以在初始化地图时在地图选项中设置它们。 JS 很好 - 看看这里
If you just want the controls on the map, you can set them in the map options when you initialise the map. JS is fine - have a look here