PxPlus User Forum

Main Board => Discussions => Web Services => Topic started by: James Zukowski on July 13, 2023, 05:49:11 PM

Title: Google Maps
Post by: James Zukowski on July 13, 2023, 05:49:11 PM
It seems that the Google Maps object is only usable within Nomads. We're looking into using the GeoCode functionality to verify addresses being entered in various application programs. Is there a way to do that with the current object? Is there something else we can use? Do we need to develop something ourselves?

Thanks!
Title: Re: Google Maps
Post by: Mike King on July 14, 2023, 09:37:42 AM
There are a number of easy to use web based API's you can use for this.

For example https://positionstack.com/documentation

Do a google query and they will point you to various options.  There may be a cost involved if you do a lot of calls but casual requests often are available at no charge.
Title: Re: Google Maps
Post by: Mike King on July 14, 2023, 09:39:58 AM
Here's another option:

https://geocode.maps.co/search?q=25+Centurian+Blvd,+Markham+Ontario
(Replace spaces with + as per standard URL encoding)

Returns JSON