How to create a geo-fence
The PolyLine feature is a great feature in V3. I can now create a polygon for my geo-fence. However, I don't know how to figure out whether a new LatLong is within my previously defined polygon. Can somebody help? Thanks.
[222 byte] By [
DilipK] at [2008-2-27]
I haven't had the need to do it myself yet, but the only ways I could think to do it would be by some sort of mathematical calculation, or make use of some other sort of software which does. MAYBE you can see if VML, which is what VE uses to draw the polylines can be utilized, but I don't know how if that even is possible.
If your polygons are already predefined, why not store them in MWS? Then, you can use Polylines to draw the polygon on VE and make a call to MWS to find out if the point is within the polygon stored in MWS.