I hail from hardware where, for instance, Apple chooses 3 providers for it's SSDs (SanDisk, Samsung, Intel, ...) to shield itself from price gouging, supply issues with any single party, business concerns, etc..
However, I routinely see entire companies based on single providers despite choice existing in the marketplace. The OP should have designed their service around multiple mapping providers from the get go, if a serious business relied on mapping
When developing web apps, it is not possible to write the code for the alternative platforms aswell. We are not just talking about changing tiles but also alot of manipulations with the maps in terms of layers, polygons, routes, markers etc on the map.
What you are saying is already done in places where it can be, for eg, use of ORMs allow the application to be connected with a variety of DBs and your DB queries and application become independent of the underlying DB.
SSDs all have standard interfaces (SATA or whatever), so you can easily swap them out. Conversely, Google Maps doesn't let you implement your own pan/zoom layer on top of their maps API, you have to use their APIs.
Yes you could create a compatibility layer for this, but really that seems like a lot of pre-work for something so unforeseen.
Depending on the SKUs of parts used, a single product (say MacBook pro 128GB ) may have multiple SKUs, i.e. versions of the underlying board, to accommodate for different parts and their dependencies.
If you're under the assumption that Apple and Co don't spend the effort in abstracting out dependencies on their hardware, your deeply mistaken.
A significant portion of engineering in hardware circles is spent in this effort
I hail from hardware where, for instance, Apple chooses 3 providers for it's SSDs (SanDisk, Samsung, Intel, ...) to shield itself from price gouging, supply issues with any single party, business concerns, etc..
However, I routinely see entire companies based on single providers despite choice existing in the marketplace. The OP should have designed their service around multiple mapping providers from the get go, if a serious business relied on mapping