I want to add a marker on the city on Google Map, but as I load the name of the city from DB, I do not know its coordinates. Is there any way to put a marker on the map without knowing exact coordinates of place we want to mark? Unfortunately, in this examples I do not see such options. Thanks in advance!
Asked
Active
Viewed 2,047 times
1 Answers
2
Why not search for the LatLong with their geocoding API and use that? https://developers.google.com/maps/documentation/javascript/geocoding

jered
- 11,220
- 2
- 23
- 34