Ankush Roy
Ankush Roy

Reputation: 1631

Cool Infobox and plot polygons through xml ....in bing maps , pure javascript

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:-

check the source file here

Upvotes: 2

Views: 597

Answers (3)

rbrundritt
rbrundritt

Reputation: 17954

For tooltips you can take a look at this blog post: http://rbrundritt.wordpress.com/2011/11/21/pushpin-tooltips-in-bing-maps-v7/

Upvotes: 0

rbrundritt
rbrundritt

Reputation: 17954

As for XML data, if it is in GeoRSS or GML format then you can use this module: http://bingmapsv7modules.codeplex.com/wikipage?title=GeoRSS%20Plugin

If it is in GPX format you can use this module: http://bingmapsv7modules.codeplex.com/wikipage?title=GPX%20Parser

Upvotes: 0

rbrundritt
rbrundritt

Reputation: 17954

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/

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

Upvotes: 1

Related Questions