作者Linux (Windows)
看板Web_Design
標題Fw: [心得] Google Maps point in polygon 應用
時間Fri Nov 27 12:56:41 2015
※ [本文轉錄自 Soft_Job 看板 #1ML-9jzr ]
作者: Linux (Windows) 看板: Soft_Job
標題: [心得] Google Maps point in polygon 應用
時間: Fri Nov 27 12:56:09 2015
Hi, 版上大大們好久不見!
話不多說 Demo Page:
http://polygon.ioa.tw/
好久沒分享作品了.. 不過這次算是前後端一起弄的作品!
主要是 Google Maps js API 的應用,利用 Marker、Polyline 去圍出一個多邊形,
並且利用 Ajax 去後端撈取範圍內的 Marker,
後端部分則使用 CodeIgniter 最簡單的寫法,
如果有興趣或錯誤的歡迎指教喔~~
前端 JS 位置在:assets/js/main.js
Demo:
http://polygon.ioa.tw/
GitHub:
https://github.com/comdan66/point-in-polygon
--
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.51.221.44
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Soft_Job/M.1448600173.A.F75.html
※ 發信站: 批踢踢實業坊(ptt.cc)
※ 轉錄者: Linux (123.51.221.44), 11/27/2015 12:56:41
2F:推 hijkxyzuw: ID朝聖 11/28 16:46