I have city, state and country values in a collection. Now my question is: how do i get latitude and longitude in meteor for a specified city in the collection.
What you are looking for Geocoding
. There are several Meteor packages that are available to achieve this. You can look for Meteor packages on https://atmospherejs.com/
Here's one of the many packages that solves your problem: https://atmospherejs.com/aldeed/geocoder
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.