-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RectanglePrimitive has been deprecated #14
Comments
@getardretard did you manage to figure out a way of solving this? |
I am no expert but I updated this section:
But I cannot get the rectangle to be yellow when it is first drawn. When I add the appearance option (just to test) I get an error saying there is an undefined Worker. |
I just changed extent = new Cesium.RectanglePrimitive(); to extent = new Cesium.Primitive(); |
Hi @getardretard, I am using following but still not getting rectangle while drawing.. did you get any solution for this. if(extent == null) {
Thanks |
Hi @raghuburgala, I still use the code I posted above. I haven't seen any update to this. It seems to do the job for me. Cheers. |
Hi @getardretard, I resolved my issue by using following code.
Thanks. |
cesium version 1.24 can't find the api of RectanglePrimitive or ExtentPrimitive. Thanks. |
As of Cesium 1.17 RectanglePrimitve has been deprecated so this will need to be updated as the Extent primitive can no longer be drawn.
The text was updated successfully, but these errors were encountered: