C
C
chponseIOS2020-11-29 20:57:33
Google Maps
chponseIOS, 2020-11-29 20:57:33

Where to connect Google Maps API?

I have never worked with google maps, so I don't know how to find a solution. The task is this: the service works with the location of users, each user can save his location (or specify it manually), his location is stored in the database in the appropriate column.
When requested, you can get the location of all users from the database.

Now the actual question is: how to visualize all this using Google maps. That is, the user does not manually enter the location, but creates a marker on the map, and the geographical data from this marker is already stored in the database. The same is true in the opposite direction - when requested, the location is displayed as a marker on the Google map.

It's not clear, do I need to use the google maps API only on the frontend? And then the server will simply give the marker data to the database? Or do you need to connect the API on the backend?

Frontend powered by Angular, backend Node.js(nest.js) + PostgreSQL

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-11-29
@chponseIOS

You only need Google to display markers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question