lib/Models/GeoJsonCatalogItem.js
function reprojectPointList(pts, code) {
  if (!(pts[0] instanceof Array)) {
    return Reproject.reprojectPoint(pts, code, "EPSG:4326");
  }
  var pts_out = [];
  for (var i = 0; i < pts.length; i++) {
    pts_out.push(Reproject.reprojectPoint(pts[i], code, "EPSG:4326"));
  }
  return pts_out;
}
function reprojectPointList(pts, code) {
  if (!(pts[0] instanceof Array)) {
    return Reproject.reprojectPoint(pts, code, "EPSG:4326");
  }
  var pts_out = [];
  for (var i = 0; i < pts.length; i++) {
    pts_out.push(Reproject.reprojectPoint(pts[i], code, "EPSG:4326"));
  }
  return pts_out;
}
function reprojectPointList ( pts , code ) { if ( ! ( pts [ 0 ] instanceof Array ) ) { return Reproject . reprojectPoint ( pts , code , "EPSG:4326" ) ; } var pts_out = [ ] ; for ( var i = 0 ; i < pts . length ; i ++ ) { pts_out . push ( Reproject . reprojectPoint ( pts [ i ] , code , "EPSG:4326" ) ) ; } return pts_out ; }
Reproject a point list based on the supplied crs code.
Reproject a point list based on the supplied crs code .