• 點部落
  • 首頁
  • RSS
    • 登入

約翰的程式工作誌

醬寫也可以

2018-09-06

Objective-C - draw line in App with Google map & googleAPI(Direction)

  • 235
  • 0
  • 走到哪寫到哪

Firstable, we need to get a Google API key

then, build a response model for it,

call direction API, get the result in App and do the transfer from JSON to our result model.

finally, use polylines from the result to draw it on mapview, done!

...繼續閱讀 »
  • Objective-C
  • GoogleAPI
  • Direction
  • PolyLine
  • 1

系列文章

  • 服務規範
  • 聯絡我們
© 2025 點部落 Ver. 1.0.0.0
電魔小鋪有限公司 製作、維運;登豐數位科技 提供資安檢測