问题描述
你好,
我想用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 Maps中实现地理围栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!