3 ms·
Any details on how complicated enabling that switchability was? Or details / costs / takeaways from your process? Seems like now would be a great time to write
by ethbro 8y ago
Any details on how complicated enabling that switchability was? Or details / costs / takeaways from your process?
Seems like now would be a great time to write a blog post on how you did it. :)
- woohoo7676 8y agoIt definitely took a decent amount of work (and a double decent amount of testing). As voltagex_ mentioned, most location providers have a different API flow than Google Maps - rather than doing a total abstraction of providers (which would take too much effort), we went for a Google flow and non-Google flow basically. For example, location autocomplete with Google requires a two step process (call for suggestions, then call for details of the suggestion) where a couple alternative apis provided the necessary data in the suggestion process. This requires a bit of a different flow on the server/client, so building support for both in was one of the hurdles we had to get over. As for other takeaways, I guess mainly always have a backup plan for mission-critical service providers :)