Migrating away from Google Maps and cutting costs by 99%
Thanks for the dialogue on HN and all of the comments. As identified by 255kb, there’s a other pricing for position mode to place markers on addresses and puts. Our shoppers ceaselessly alternate the marker place even though, because it doesn’t mirror their figuring out in their venue. If you simplest position a marker on an cope with, the Google worth hike doesn’t impact you most likely.
eventsofa is a location platform the place you’ll be able to to find places to your occasions, for instance for Christmas events. We’ve been the use of Google Maps on profile pages for some years now and had been proud of the revel in. Usage used to be unfastened for us, reliability used to be prime and there used to be a gentle move of latest options and map improvements. Beside Maps we have been additionally the use of geo coding from Google, which used to be a far rougher revel in from Google with blended language and unhealthy information.
Then got here the surprise, Google sought after cash for Google Maps utilization. From a industry perspective, we definitely can perceive Google short of cash for its products and services. We did finances away cash as we have been anticipating this to come back. But what surprised us used to be the rise in costs by greater than 1000%. They sought after to sweeten the associated fee hike with a per month credit score, however this used to be a raindrop within the ocean. The projected costs from Google have been a number of 1000’s of euros per 30 days, with an upward pattern indicated by Google and additionally our seasonal industry. .
Migration used to be really easy and took a lot shorter than we’ve anticipated. We made up our minds to make use of the Mapbox API with tiles from Stadiamaps. In below 30 mins we migrated our code to Stadiamaps with out prior wisdom in their API, together with deployment. We noticed an instance to switch the map marker and used it to create a crimson marker, which we haven’t executed with Google Maps.
Migration resulted in a discount of costs of one thing round 95-99% relying on seasonal site visitors. Although we need to pay now for map products and services, the fee isn’t very prime and very sustainable for us. We want Google would have taken cash from the start with an affordable worth lets finances as a substitute of being unfastened and then charging a lot of cash. StadiaMaps additionally energized us to place maps in numerous puts we haven’t used maps sooner than!
Things have now not long gone as neatly with geo coding. Google geo coding information is simplest allowed for use with Google Maps, so whilst you alternate maps you want emigrate geo coding too and recode previous information. We examined a number of geo coding products and services and are evaluating effects to Google geocoding to peer how they carry out. After some adjustments we now use Open Cage Data geocoding. Open Cage helps each JSON and XML codecs and reinforce ahead and opposite geo coding. One receive advantages is we now personal the coding information and can use it at some point even supposing we alter the maps carrier or geo coding supplier.
Open Cage has higher effects than Google and provide extra helpful information with every reaction. You can get phone code, foreign money, emoji flag of the rustic, coordinates in several codecs, solar upward thrust and solar set, time zone and many extra. Results of town names and suburbs for various languages could also be significantly better than with Google. We had some minor information problems and Open Cage Data reinforce used to be superb with very speedy fixes.
We have been the use of placeId in Google geocoding to turn customers an inventory of coding effects, let the person make a choice one and then use the choice to geocode a location. As maximum geo coding carrier we’ve checked out didn’t reinforce distinctive IDs for geo coding effects, we needed to rewrite backend and frontend code. Which isn’t as great, however works.
Support from StadiaMaps all the way through our determination and following the migration used to be superb. We’ve exchanged some emails with Stadiamaps CEO who used to be very type and useful, general the reinforce revel in used to be a excitement.
Thanks to Google for giving us unfastened Maps for some years, we’re now more than happy with Stadiamaps and will have to have migrated sooner than!