Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am scubbx on github.
  • I am scubbx (https://keybase.io/scubbx) on keybase.
  • I have a public key ASBWs4Nw_xBGjOcRH3aFdqqUR-bm4Quq7eXomxsporgQtwo

To claim this, I am signing this object:

@scubbx
scubbx / addToDititizer.yml
Created April 17, 2019 14:22
Reprojection in MapBender on the client (prototype, buggy)
click: |
console.log("click on coordinates detected");
var inputField = el;
var form = inputField.closest(".modal-body");
var epsgField = form.find(".-fn-active-epsgCode> .form-control");
window.liveReprSourceEpsg = epsgField.val();
change: |
function ConvertDDToDMS(D, lng){
return {
dir : D<0?lng?'W':'S':lng?'E':'N',