Coordinate system conversion (from lat and longitude to BNG2 ) in map

Hi
Im very new to coding generally and AppInventor but slowly finding my way around.
I've managed to draft up an app to take lat/long from the gps sensor and display it but what i would really like to do is convert lat/long to British National Grid reference.
I have a javascript code to do the conversion but is it possible to insert this external block of code into my AppInventor project?
thanks for your help
Gary

Use the webviewer component and its javascript block
You will need to understand how the webviewstring works in order to return a result

1 Like

Here is an example and an aia by Scott showing how to convert lat/long to the British National Grid reference in an App Inventor project https://groups.google.com/g/mitappinventortest/c/YpfPrmgxUoM/m/n7n1MYDVAQAJ

Regards,
Steve

1 Like

thanks for your help.