I need to transform the example coordinates to a different projection in Openlayers3, the EPSG:32628 to EPSG:3857. I made a function to do it but the result is exactly the same numbers.
function plsHelp(){
var pt = [459123.1209, 3108334.7701];
var scr = new ol.proj.Projection('EPSG:32628');
var dest = new ol.proj.Projection('EPSG:3857');
var test= ol.proj.transform(pt,scr,dest);
console.log(test);
}
What is wrong with the function that is preventing the tranformation of the coordinates from EPSG:32628 to EPSG:3857 in Openlayers 3?