When I use the ground.getHeightAtCoordinates(0,0) method, the ground width and length exceeds 300 and NaN is displayed
Make sure to call it after the ground was already initialized (i.e. in the unSuccess callback). If you run it before results may vary (or better yet - it will fail for sure :-))
When I use the ground.getHeightAtCoordinates(0,0) method, the ground width and length are set to 271 and it displays correctly
Want to reproduce this on the playground?
I understand what you mean, after I used the onready method, it was successful, thank you very much