I have an example user input that does not return the expected DD output:
input coordinates: 36.01S,146.95E - this is recognised by Google geocoding API.
var parts = address.split(",");
var lat = magellan(parts[0]).latitude().toDD();
var lng = magellan(parts[1]).longitude().toDD();
console.log("magellan", parts, lat, lng);
I have an example user input that does not return the expected DD output:
input coordinates:
36.01S,146.95E
- this is recognised by Google geocoding API.console output:
the following does work correctly: