using kml (and georss)

Sep 20, 2010 at 8:51 AM

Hi all,

Loving the InfoStrat.VE control - adding touch to maps makes them much more interactive!

I've been trying to add kml and georss onto a map - I realise that this functionality didn't make it into R2, which is no problem - I'm happy to code my own and share it up here if it helps!

...but I've been hitting dead ends.  Does anyone have any pointers as to which MapPoint classes I should be trying to use?  I've seen loads of javascript examples for doing this e.g.

var shapeLayer = new VEShapeLayer();
var shapeSpec = new VEShapeSourceSpecification(VEDataType.ImportXML,"xmlsource", shapeLayer);

 but I'm struggling to see how to tie these methods up with the MapPoint library structure.  I've had a good dig through the documentation, and googled till I'm blue, but no joy.

Any pointers or suggestions would be greatly appreciated!


Sep 20, 2010 at 3:26 PM


Thanks for the comments.

Yes, unfortunately there is not much documentation on actually using the client MapPoint library with external data sources. Here is one starting point though, in case you haven't seen it:



Sep 20, 2010 at 4:22 PM

Hi Josh,

Thanks for the pointer - I've been using similar code to pull in some WMS services - I'm guessing you're saying that a KML file can be set up as a datasource in a similar way?  I'll have a dig and see where I get...

Thanks for your help,


Sep 21, 2010 at 7:50 AM

I didn't look on this about KML files, but can get an inspiration on dealing with ShapeFiles here :