看板 Soft_Job 關於我們 聯絡資訊
Hi, 版上大大們好久不見! 話不多說 Demo Page: https://www.ioa.tw/Develop/GoogleMaps-Point-in-Polygon.html 好久沒分享作品了.. 不過這次算是前後端一起弄的作品! 主要是 Google Maps js API 的應用,利用 Marker、Polyline 去圍出一個多邊形, 並且利用 Ajax 去後端撈取範圍內的 Marker, 後端部分則使用 CodeIgniter 最簡單的寫法, 如果有興趣或錯誤的歡迎指教喔~~ 前端 JS 位置在:assets/js/main.js Demo: https://www.ioa.tw/Develop/GoogleMaps-Point-in-Polygon.html GitHub: https://github.com/comdan66/point-in-polygon -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.51.221.44 ※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1448600173.A.F75.html
GoalBased: 加個說明吧,不然不知道是幹嘛的 11/27 13:01
anandydy529: 找一個範圍內的餐廳 11/27 14:27
kyrc: 再加個,點擊 marker 顯示 info window 如何? 11/27 15:02
cutekid: 推喔(Y) 11/27 15:10
asadman1523: cool~ 11/27 15:19
vn509942: 帥喔 11/27 15:32
love112302: 酷, 想請問後台那些點的資料是從哪邊來的? 11/27 16:41
max60414: 學弟來朝聖一下 XD 11/27 20:29
aaasds5566: 酷耶 11/28 14:41
DellSale999: 推推,以前想學沒資源,估狗超久的 11/29 08:13
※ 編輯: Linux (211.23.19.91), 09/01/2017 15:09:01 ※ 編輯: Linux (118.166.44.212), 05/02/2019 14:28:02