Maps management on PWAs: choose your provider
Written by Muriel Santoni on
You may not know it, but recently Google has changed its pricing policy for its Map services. Previously completely free, the use of Google Maps is now subject to billing, and it may impact you if you reach a certain rate of use on your PWA.
Display a map, how does it work?
When you have a map in your app, two elements are displayed:
the points you created thanks to the GoodBarber CMS
the base map, coming from an external provider
The provider can be different depending on the way you want to distribute your app: on iOS, Android or on the Web. On the native side, for iOS the maps are managed independently by Apple, and for Android the provider is obviously Google Maps. On the other hand for the Progressive Web Apps it’s possible to choose between several providers and this is the development we are announcing today.
There are not a lot of map providers in the market and new uses are giving location data more and more value. If those services were previously free, pricing is now applied in most cases. With this in mind, it was essential for us to give you the opportunity to choose the provider that best suits you between two market institutions: Google Maps and Mapbox.
Let’s see in details what differentiates them.
According to Google, this is how loads are accounted:
“After a web page or application loads a map, or a static map image, or a Street View panorama, any user interactions with it, such as panning, zooming, or switching map layers, do not generate additional map loads or affect usage limits.”
It was really important for us to give you the opportunity to choose another map provider, which offers rates that differ somewhat from those of Google.
According to Mapbox, “a single map view is recorded when four tiles are loaded in the viewport.”
You will understand that each map provider is different, both in terms of the techniques used for the display of maps, services offered, but also pricing options. We offer you the option to change your provider at your leisure, with one click from the back office.