Openlayers is representing the coordenates as longitude,latitude.
Can I change the default format longitude,latitude to latitude,longitude?
By example, this will not work, because I have this array as [lat, lng] and LineString is taking it as [lng,lat]:
a = [ [-21.929054, 64.127985], [-21.912918, 64.134726] ];var lineString = new ol.geom.LineString(a);
أكثر...
Can I change the default format longitude,latitude to latitude,longitude?
By example, this will not work, because I have this array as [lat, lng] and LineString is taking it as [lng,lat]:
a = [ [-21.929054, 64.127985], [-21.912918, 64.134726] ];var lineString = new ol.geom.LineString(a);
أكثر...