Vote count:
-1
I am making polygons on google map in asp.net. I have saved latitude and longitude in the following form, lets say I have saved four points then, the string is like;
string latlang = (33.603986271882114,73.11313390731812),(33.603834362088435,73.11346650123596),(33.60361990074762,73.11338067054749),(33.60368245202712,73.11304807662964);
So how should i split it and assign it to the variable as, I am making a point using latitude and longitude as following
//this is for one point
GP1.Latitude = latitude2;
GP1.Longitude = longitude2;
And thats how I am making polygons using multiple points
PG1.Points.Add(GP1);
PG1.Points.Add(GP2);
PG1.Points.Add(GP3);
PG1.Points.Add(GP4);
PG1.Points.Add(GP5);
asked 2 mins ago
Aucun commentaire:
Enregistrer un commentaire