作者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/cn.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