Google Maps/Geolocation in Meteor Enquiry


#1

Good day,

I am new to Meteor and reaching out for some advice regarding integrating Geolocation into my web app.

I am trying to build functionality as per the below and wanted to ask how one would go about it:

User specifies a distance they are willing to travel to get to a specific location, the nearest Restaurant for example
The web app then brings back results based on the parameters set by the user (e.g. within 10 miles, 50 miles, 100 miles, etc.)
These results will be displayed on the front-end but I don’t want a map to be displayed showing the location, only the results, in like a bootcards format (Restaurant name, type of Restaurant, Phone number, etc…)

Any assistance would be greatly appreciated.

Kind regards,

Jayson.


#2

Look at the google places API https://developers.google.com/places/

See “nearby search requests” here https://developers.google.com/maps/documentation/javascript/places

If you’re not showing a map, make sure to give the TOS a read.