I have some point coordinates like below:
-123.118069008,49.2761419674,0 -123.116802056,49.2752350159,0 -123.115385004,49.2743520328,0 -123.114912944,49.2738039982,.............. -123.118069008,49.2761419674,0
Can you please let me know how I can use C# to create something like this:
new google.maps.LatLng(-123.118069008,49.2761419674),
new google.maps.LatLng(-123.116802056,49.2752350159),
.....
new google.maps.LatLng(-123.118069008,49.2761419674)];
As you can see I need to:
- Add the "new google.maps.LatLng(),"
- Remove the 0 from -123.118069008,49.2761419674,0
- Parse it until the last line which terminate with ;
Thanks