I'm using this example to import a polygon on an Openlayer map. However I'm having issues with the coordinate formatting. I'm importing the coordinates with a space as the delimiter with a carriage return between lines. I achieve success with a set of example coordinates from the Openlayers example. E.g. -
-5e6 6e6 -5e6 8e6 -3e6 8e6 -3e6 6e6 -5e6 6e6
This format works as it does in the example. However, when I use decimal degree format with the exact code that the examples uses this doesn't work. E.g. -
-83.6743 43.5857 -83.6743 44.0603 -82.4072 44.0603 -82.4072 43.5857 -83.6743 43.5857
Any suggestions would be appreciated.