很酷的Infobox并通过xml ....在bing maps中绘制多边形,纯JavaScript [英] Cool Infobox and plot polygons through xml ....in bing maps , pure javascript
问题描述
我刚开始使用兵力图,并希望为我的项目完成两件事. a)通过xml加载数据来定义图层/形状 B)有这样的工具提示/信息框网站:-
I have just started with bing maps and wish to accompilish two things for my project . a) define layers/shapes by loading data via xml B) Have a tooltip/infobox like this site:-
推荐答案
对于Bing Maps中的自定义信息框,有两个选项.第一种是使用内置的信息框控件并设置html content属性.我在此处发布了有关如何执行此操作的博客文章: http://rbrundritt.wordpress.com/2011/11/08/simple-custom-infoboxes-in-bing-maps-v7/
For custom infoboxes in Bing Maps there are two options. The first is to use the built in infobox control and set the html content property. I have a blog post on how to do this here: http://rbrundritt.wordpress.com/2011/11/08/simple-custom-infoboxes-in-bing-maps-v7/
第二种方法是在此处使用为Bing Maps V7创建的自定义信息框模块:
The second method is to use the custom infobox module I created for Bing Maps V7 here: http://bingmapsv7modules.codeplex.com/wikipage?title=Custom%20Infobox%20Control
这篇关于很酷的Infobox并通过xml ....在bing maps中绘制多边形,纯JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!