One of many questions to come (I'm sure). Can I please get some assistance from the brains trust with regards to disabling the annoyingly slow mapbox scroll zoom feature in Retool on load? All documentation seems to point to it being something you can achieve in mapbox however I would like to know if this is possible to achieve in Retool without having to go back to the source.
That is very odd behavior for the map component, any chance you could share a screen shot of the map component's Inspect view?
I am assuming you are creating a pin based on the animal info the user selects and then the map is receiving the pin's coordinates slightly after the component renders, causing it to move.
I will look into this as @darenhunter has a similar issue. I am hoping that we can easily set the start pin/location coordinates for the map component before it renders.
So that it doesn't try to auto set its view to coordinates 0 0 and then receive data to set pins and zoom to them.
@Augustine_Whitehouse Is it possible for you to drop in and join our office hours to live debug?
I was trying to replicate but my map does not zoom. Here is more info on our office hours which will be held tomorrow. Hopefully we can live troubleshoot/debug this zooming issue!
{{parseFloat(get_project_latitude.data?.latitude) || 0}} and then you can try replacing the zero with the hard coded coordinates you want.
More details about a user with a similar issue here hopefully it helps.
Also under Appearance set Zoom to a higher number. My maps also start zoomed out until I increased the zoom number, not much more I can do besides adding a feature request for fixed load in zoom on hard coded lat/long.
The other option would be to use the map's display functionality to set it's Hidden property to hide the map until the lat/long values are available. A slight time delay might be enough to keep the map from loading in without values