[英]Issue in infobox repositioning in Bing map v7
I am using the Bing map version 7 for the displaying the events and its details on map. 我正在使用Bing地图版本7在地图上显示事件及其详细信息。 For that i have added the following reference js file " http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=de "
为此,我添加了以下参考js文件“ http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=de “
I have implemented the displaying the event pin on map and displaying the event details in infobox. 我已经实现了在地图上显示事件图钉并在信息框中显示事件详细信息。 I am stuck up with displaying event details in infobox which are on the boundary of the map.
我一直坚持在地图边界的信息框中显示事件详细信息。 This infobox goes outside the map.
该信息框位于地图之外。
I have found on solution in the post Cool Infobox and plot polygons through xml ....in bing maps , pure javascript 我在帖子Cool Infobox中找到了解决方案, 并通过bing ...通过纯XML通过xml ....绘制了多边形
But even after implementing the solution mentioned(CustomInfoboxModule) in above link, i am facing the issue for the events having more details. 但是即使在实现以上链接中提到的解决方案(CustomInfoboxModule)之后,我也面临着事件的更多细节的问题。
Not 100% sure if I understand the question. 不能100%确定我是否理解这个问题。 Is your issue that the infobox falls outside of the map?
您的问题是信息框不在地图之外吗? If so, if you make your Infobox big enough this is bound to happen.
如果是这样,那么如果您将Infobox设置得足够大,那么这势必会发生。 There are a couple of solutions:
有两种解决方案:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.