如何在Google Maps中实现地理围栏 [英] How to implement Geofencing with Google map
问题描述
你好,
我想用Google Map实现Geofencing.我想在Googlemap上定义一个路径,然后将其经纬度存储在数据库中.当某些设备超出此限制范围时,我想发送警报.
我试过了
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html#The%20C%20Code [
Hello,
I want to implement Geofencing with Google map. I want to define a path on the Googlemap and then store its lat-long in database. I want to send alert when some device goes out of this boundry.
I tried this
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html#The%20C%20Code[^]
but does not run correct when coordinates are below the polygon.
Thanks
推荐答案
我尝试了此
我注意到的不是来自Code Project网站.
Which I notice does not come from The Code Project site.
但当坐标在多边形下方时运行不正确.
but does not run correct when coordinates are below the polygon.
这可能意味着什么.尝试从提供代码的人那里寻求帮助,他们更有可能了解其工作原理.
Which could mean anything. Try asking for assistance from the person who provided the code, they are much more likely to understand how it works.
您是否在我的文章中看到了如何在Google地图中绘制地理围栏.
轻松使用HTML,ASP.NET,PHP,JSP等格式的Google Maps [
Did you see how to draw geofencing in google maps in my article.
Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease[^]
I think this might help.
这篇关于如何在Google Maps中实现地理围栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!