Unable to get property 'parse' of undefined or null reference error in building Windo

المشرف العام

Administrator
طاقم الإدارة
I am trying to build a Windows Forum Application that will uses to download and display some layer in the Geoserver.

But every time that I run the app I will see an error(image).

Can anybody help me please?

Regards.



using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Geoserver { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { if (checkBox1.Checked == true & checkBox2.Checked == false) webBrowser1.Navigate("http://localhost:8080/geoserver/usa/wms?service=WMS&version=1.1.0&request=GetMap&layers=usa:states&styles=&bbox=-179.23023299999997,17.831509000000036,-65.16882499999997,71.437769&width=702&height=330&srs=EPSG:4326&format=application/openlayers", false); if (checkBox2.Checked == true & checkBox1.Checked == false) webBrowser1.Navigate("http://localhost:8080/geoserver/opengeo/wms?service=WMS&version=1.1.0&request=GetMap&layers=opengeo:countries&styles=&bbox=-180.0,-89.99892578124998,180.00000000000003,83.59960937500006&width=684&height=330&srs=EPSG:4326&format=application/openlayers", false); } } }

أكثر...
 
أعلى