You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Geocoder.flyToDestionation accept either a coordinate or a rect region.
However, it distinguishes between them by a DevelopError from the pragma in Cartesian3.normalize.
So if you remove all the pragma block in code, then there will be a problem. Geocoder will use the wrongly normalized coordinate other than another option: rect.
I noticed that the official build just removes the pragma comment other than the whole code block.
So I guess the DevelopError statement should be moved out of the pragma block to avoid misunderstanding.
The text was updated successfully, but these errors were encountered:
The Geocoder.flyToDestionation accept either a coordinate or a rect region.
However, it distinguishes between them by a DevelopError from the pragma in Cartesian3.normalize.
So if you remove all the pragma block in code, then there will be a problem. Geocoder will use the wrongly normalized coordinate other than another option: rect.
I noticed that the official build just removes the pragma comment other than the whole code block.
So I guess the DevelopError statement should be moved out of the pragma block to avoid misunderstanding.
The text was updated successfully, but these errors were encountered: