Hello every one,
Need help on how to generate plus code(postman) from latitude and longitude (GPS) in CS PRo
How to generate plus code(postman) from latitude and longitude (GPS)
-
- Posts: 1839
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: How to generate plus code(postman) from latitude and longitude (GPS)
There is no built-in functionality within CSPro to do this, but you could likely create your own algorithm to do this by looking at Google's source code for calculating these. For example:
https://github.com/google/open-location ... ee/main/js
Perhaps we'll include support for Plus Codes in a future release.
https://github.com/google/open-location ... ee/main/js
Perhaps we'll include support for Plus Codes in a future release.
-
- Posts: 6
- Joined: April 9th, 2024, 3:45 am
- Location: India
Re: How to generate plus code(postman) from latitude and longitude (GPS)
Hey hi, you can use postman.
Use the Google Maps Geocoding API endpoint and replace latitude and longitude with actual coordinates, and YOUR_API_KEY with your API key. Send a GET request and parse the response to extract the Plus Code.
Use the Google Maps Geocoding API endpoint and replace latitude and longitude with actual coordinates, and YOUR_API_KEY with your API key. Send a GET request and parse the response to extract the Plus Code.