문제

I am building an application that uses the GMaps API v3 and, taking advantage of the geocoding function, i dont know if it is better to store in the DB:

  1. The coordinates (latitude & longitude)
    • When i need to place a marker, just put it
    • When i need the address, query the API
  2. The address (as a string)
    • When i need to place a marker, query the API
    • When i need to post the address, just print it
  3. Store Both

What would you recommend?

Thanks in advance!

도움이 되었습니까?

해결책

I recommend:

1) Storing both

2) Cranberry and Mint Martini. (excellent vodka drink, take after success in programming).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top