Preample
A questiontion that rises from time to time is real time application with Maps. In an earlier blog post I showed how to build a streamed layer. Products such as XSockets provides great communication and integration opportunities. To boost the product I have added a geo-functionality to XSockets.In this application I have implemented a geofence example. The application works the following
- The user define a fence by drawing
- The user can test points if they are inside the fence or not
- The map plots the point and coloring it depending on the point is inside or outside the fence. Red outside, green inside.
Back End
Front End
Bing Maps Modules
- The GeoJSON module
- Drawing Tools module, I hope this module will be more customizeable in the future. I might have missed something... In this application hiding and showing tools is hack style.
Implementation
The sample application is deployed on Azure. The web as a web application and the server as a worker role.














