I have a custom component that displays a Google map with multiple locations based on a table. Around 2 hours ago the entire map disappeared and the component is blank.
I just noticed for the first time the component is deprecated. I am hoping this is not why the component just stopped working.
Does anyone know if custom components no longer function? It seems strange they would just stop working without notice.
I just simplified and tested outside of Retool and the map works. The exact same code does not work in Retool. It would seem there is an issue with this Retool custom component.
This is becoming urgent as the client depends on this map. Is anyone from Retool able to help?
While it's true that the previous generation of the custom component is being deprecated in favor of Custom Component Libraries, those components should definitely still continue to function as expected. I did some brief testing - literally just copying and pasting the entire HTML document you've shared here - and don't see any issues:
Do you see any errors in the browser console? It may also be useful to send over your app JSON with hard-coded query data, if you're still unable to figure out what's going on.
No, I left the Model input blank but even tried to throw an intentional syntax error in there, without any luck. It is, however, necessary to have the Storage and cookies configuration option toggled on in order for the markers to work, but the map still seems to load.
@Darren,
I'm glad you helped find a solution and that is the main thing. I am still perplexed why it worked in previous versions without checking the storage and cookies option. Is there a way to find out if any minor updates in Retool would have caused this? It would be nice to be able to follow this sort of change.
I'm going to look into the Google maps API side a well. Something definitely changed.