For my app, I need to retrieve from an API a latitude, longitude, label, etc for each map marker in an array, and then populate all the markers on the map component. In order to connect a data variable to the map, it seems like the API’s schema needs to be exactly the same as the map’s. However, instead of displaying what should be a “label,” the API fetches “field_151313.”
Is it possible to translate the API’s schema so it can be connected to the map – reformatting the data and renaming each property?
Hope this makes sense! If not, I can definitely clarify.