newPin JS

Selecting a tool creates a draggable marker in the centre of the map.
The marker position is passed to newPinLatLng
Clicking an alternate tool updates the newPinMedia var but does not
create a new marker