Geofencing using the Geofencing API  in HTML5
Request a Demo
Fill out our form and get started
Support Services
Customer support provided 24/7
Begin Demo
Click here for more information
Call 020 37715 770
Speak to our trained sales team

Geofencing using the Geofencing API in HTML5

Geofencing is an emerging trend and as it is exactly as the name suggests Geo(geographical area) and fencing(defining boundaries). In the most uncomplicated way its a virtual fence surrounding a geographical area. Geofencing API lets web-apps encircle a geographic area within boundaries and tracking the intersection of this area with a device. Why geofencing? Why not accomplish the same thing using already popular Geolocation API.

Intriguing as it may sound but few solid reasons make it a better choice. First, it drains a lot less power than its counterpart as it avoids pinging the service constantly to get the precise location, rather just the entry and exit events will be the major events.


Contrary to Geolocation which provides a plethora of services, Geofencing API exposes limited API surface with focused functionalities. Moreover, Geofencing API already extends Service Workers interface, so it can still send notifications to web-app even after it has been accidentally or deliberately closed by the user. Currently, Service Workers are an inseparable part of Geofencing API so support in all the browsers is not guaranteed, however removing this will devoid Geofencing API of its essence.

It is really a piece of cake to use Geofencing API with HTML5 to build futuristic web-apps. Monitoring a region, basically defined as a Geofence and then integrating it with a web-app to handle events.Simple use case could be enabling monitoring on "gofenceenter" event and disabling monitoring by "gofenceLeave" event of the Geofencing API. Additional features include limitations that can be imposed on maximum size of a geofence name or the total number of geofences that can be registered on a single origin.

Geofencing API

Geofencing API is in development phase by the Geolocation Working Group, currently the draft is under progress and still advancements are going on. As the API is more concentrated in its functionality, implementation is not an issue, rather adhering to security and privacy considerations is still a topic in

The TO DO list for HTML5 Geofencing

All the considerations related to Geolocation API hold good here as well. Furthermore because Geofencing API even gives access to local geographic information after the user has finished interacting with the web-app adds to the list of considerations. Besides having wide range of benefits and utilitarian scopes Geofencing faces some major challenges.

Geofencing in most mobile devices drains much battery as it demands steady satellite connection and this compels user to turn off the feature. Geofencing API appears as a savior here because only entry and exit from the geofence is considered as events. Geofencing API is a start and Geofencing is a revolutionary technology with super potential that aims at transforming currently insignificant personal data regarding his locomotion into intelligence.


Involvement of potential buyers can be positively stimulated and push notifications will keeps them interested. With the latitude of progression that this technology has, there is a need of robust amalgamation of security features into it for protection of user privacy. Geofencing has already hit the market and is being extensively used to capitalize data into Business Intelligence and Workforce Monitoring and Geofencing API is the solution needed at this time.

For example, Uber has used Geofence at some airports which requires drivers to wait outside a specific area on airports to avoid traffic congestion. Walmart uses geofencing around stores to deliver coupons and e-receipts. Honeywell Lyric will switch to "nobody is home" mode to save fuel using exit event on home geofence.

Not only this but with relocation of intellectual property and personnel records on mobile devices, geofencing lets administrators define safe areas for mobile devices and alerts when the devices leave that area. Profound analysis in this area may lead every company to find a compelling use case concerning their interests.

When giants like Amazon and Walmart are leaving no stone unturned to constantly increase their sales what can independently owned small businesses, possibly do to get a larger slice of retail pie.

Simplicity of Geofencing API and easy integration to web-apps will enable small businesses to combat encroachment along with providing a shopping experience that customers can relate themselves to. Geofencing is here to stay and Geofencing API is its easiest enabler. Together they are tools to ensure loyalty and real time customer engagement when purchase objective is of utmost superiority.
Enterprise Resource Planning
Finance Options
Call 020 37715 770
ERP Sales Open 09:00 until 17:00
Task Manager
Software Tools
ERP Mobile Version