Tuesday, September 07, 2010

VE- page load with a georss set

Posted by david on 17. November 2008 14:41

Things improve quickly now – I was able to add a whole layer in about 10 minutes, here

public partial class Storage_2008_11_17_load_with_rss_set_of_data : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ShapeLayer aGeoRSSLayer = new ShapeLayer();
            ScubaMap.AddShapeLayer(aGeoRSSLayer);
            ScubaMap.ImportShapeLayerData(new ShapeSourceSpecification(DataType.ImportXML, "http://david.egerton.info/Storage/1992hurricaneandrew.xml", aGeoRSSLayer), "", true);
        }
    }
}

Comments

Add comment


 

biuquote
Loading