Hello I hope I explain this correctly. I am trying to make polygons in Google Maps with coordinates from a XML feed. Problem is the cordinates in the XML feed as not shown as Lat Lon they are shown like this in the feed.
<cap:polygon>29.66,-97.19 29.40,-97.24 29.11,-97.61 29.35,-97.85 29.57,-97.66 29.68,-97.36 29.66,-97.19</cap:polygon>
So I need to parse the coordinates out of the XML feed, convert them into google.maps.LatLng objects, so I can push them into an array, so I can provide that array as the paths property in the google.maps.Polygon constructor.
Now this is where I am stuck as I am not sure how to go about parsing that feed element so they are properly formatted the way I need them so I can construct the polygons unless there is a way I can construct the polygons with the way it's formatted now.
Any suggestions or advice would be great!
-Thanks!