Currently because of Carto's viz endpoint configuration, it's very hard to do a CORS request. There's some trickery to get the data in (which actually mirrors the way Carto embeds its maps through that endpoint currently), but this probably should be handled through an adapter rather than in the route. This way, we get the benefit of having access to models and the store without needed to create a fake object.
Currently because of Carto's
vizendpoint configuration, it's very hard to do a CORS request. There's some trickery to get the data in (which actually mirrors the way Carto embeds its maps through that endpoint currently), but this probably should be handled through an adapter rather than in the route. This way, we get the benefit of having access to models and the store without needed to create a fake object.