Improving user experience for electric vehicle drivers through a new approach to API management

Zapmap

Zap-Map_hero illustration_large
Overview

Managing APIs more effectively to improve user experience

AND Digital worked in partnership with Zapmap to provide a more seamless experience for app users through a 400% reduction in loading speeds. This was achieved by utilising bounding boxes supported a more rigorous logic to underpin their API calls.

Zap-Map_hero illustration-05
The client

About Zapmap

Zapmap is the UK’s leading app and digital platform for electric vehicle drivers, enabling them to search for available charge points, plan longer electric journeys, pay for charging and share updates with other EV drivers.

With nearly 10 years experience in the EV sector, Zapmap's database covers c. 95% of all publicly available UK charging points - so unlike their competitors, they are not beholden to third-party agreements - this means that Zapmap customers can find the best charging option for their vehicle and journey, regardless of the provider.

A purpose-led company, Zapmap’s mission is to accelerate the shift to electric vehicles and help the drive towards zero carbon mobility.

Zap-Map_hero illustration-06-4
The Ask

Creating a scalable solution for international expansion

Zapmap’s existing API implementation meant that users were experiencing 100s of points of interest loading simultaneously, leading to a cluttered map and a confusing and frustrating experience when they were trying to locate a nearby charging point or plan their journey. This occurred because Zapmap was using a region bound API for the entirety of the UK which loaded all UK data points at the same time.

With international expansion on the horizon, Zapmap recognised that this was problematic not only for current users but for new markets as well. With that in mind, they approached AND Digital to develop and implement a new bounding box prototype that was scalable and would prioritise different data points to create better user experiences, wherever their users were located or travelling to.

Prior to delivering the prototype, AND worked with Zapmap to undertake initial analysis and experimentation at pace. This allowed us to produce a set of recommendations for scaling and developing the solution beyond the initial brief.

Zap-Map_hero illustration-07
The Challenge

Speed of delivery was critical

Due to the impending international roll-out and a number of ongoing projects in the Zapmap backlog, pace of delivery was deemed mission critical. With that in mind, the process kicked off with a two week technical discovery combining AND’s experts as well as the Zapmap team. A series of workshops were conducted in a time-boxed environment in order to:

  • Analyse the Zapmap API to produce further optimisation recommendations
  • Build prototype Android and iOS apps that integrated Zapmap’s new APIs for loading points of interest (POIs) on a map
  • Explore variable load strategies, in-app caching, and new API parameters in order to meet the objective of loading data more efficiently by restricting POIs

 

Zapmap selected AND Digital for this project because of our depth and breadth of expertise in developing and delivering innovative mobile apps at pace, as well as our extensive work in the electric vehicles (EV) industry with other clients. In addition, our strong cultural alignment meant that integrating our teams was a smooth and efficient process.

Zap-Map_hero illustration-08-1

“From our initial scoping meeting, AND were accelerating the project within weeks through the provision of app developers and a consultant with specialist mapping expertise. Working with AND Digital was a very positive experience, and Zapmap looks forward to working with the company again on future relevant projects."

Ben Lane Co-Founder and CTO
The Solution

Consistent and evenly distributed data, delivered quickly and effectively

We experimented with the API to implement logic that determined what data points should be loaded per region. This ensured consistent, even data density on the map at each zoom level as only the most important POIs are loaded per region. By limiting the app to a maximum of 120 data points at any one time we improved user experience by reducing overwhelm. This also reduces the number of API calls per zoom level as regional requests are made once, then cached. Usability was also improved through the implementation of a toggleable grid overlay that helps to visualise regional subdivisions.


Our solution enables the Zapmap app to:

  • Avoid loading the same page/region of data more than once 
  • Minimise the number of network requests
  • Keep memory consumption to a minimum
  • Avoid overcrowding the map with too many charging points
  • Increase the detail as the map is zoomed in

This has set Zapmap up for success when scaling to new international markets.

Zap-Map_hero illustration-09
The Results

Increased scalability, faster load times, and a better user experience

The prototype app was designed for a larger viewport, making it easier to visualise the regional subdivisions, and allowing space for a text pane. The text pane displays live measurements on the number of regions in view, giving a clearer depiction of how the system is working at different scales. 

Through this prototype, we were able to deliver clear results for Zapmap:

Points Of Interest - BEFORE

c. 25,000 POIs loaded upfront


Unsegmented and Unfiltered, simply load and expand

Points Of Interest - AFTER

c. 250 POIs loaded at any one time*

Logical loading based on user location and proximity 

*Averaged over 8, 12 and 16 regions in view on map

API Requests - BEFORE

<5 seconds per API request

API calls were sluggish due to the high data volume

API Requests - AFTER

Average duration of 1.2 seconds per API request

On average, load speed improved by over 400% and caused a significant improvement to usability

Load Speed - BEFORE

>5 seconds to load all POIs

Slow load speed and cluttered maps meant users were unable to effectively view data points

Load Speed - AFTER

Average time of 190 milliseconds to load 200 POIs

Significant improvement to speed and efficiency

Case studies

See our impact elsewhere

More successful digital transformation projects...

Want to learn more about the work we do with clients? Take a look below.

Talk to us.

Get in touch to discuss your digital ambitions.

Contact us