I guess this is caused because you didn't add anything to your bounds yet. If you look at my initial example, I add all my offices to the bounds using a for each loop.
Hope that helps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Amazing, it works !!
here is my very first code codesandbox.io/s/openclassrooms-pr...
What is the difference ?
Can you explain me why bounds = -180 180 -1 1 ?
Thank you so much, I will be able to move forward on my project.
I guess this is caused because you didn't add anything to your bounds yet. If you look at my initial example, I add all my offices to the bounds using a for each loop.
Hope that helps!