Skip to main content
2 of 3
deleted 28 characters in body; edited tags; edited title
Dean
  • 567
  • 2
  • 9
  • 21

Draw polygons from an array in OL3

I have an query that produces an array of coordinates like so: 95.61,38.60 95.22,37.98 95.60,37.66 94.97,37.65 (long/lat separated by "," and coordinates separated by a space).

How can I use these arrays to dynamically draw polygons on my map?

How can Ideas?

Dean
  • 567
  • 2
  • 9
  • 21