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
In JS, it is possible to supply to, e.g., RoomVisual.circle options with
{
stroke: undefined
}
It means that there should be no stroke and is different from empty options {} which mean that the stroke should be default (rather thick and light).
Currently in the API it is impossible to supply an undefined stroke. The stroke can either be None meaning default or Some(x) meaning width x, there is no undefined option that means no stroke. A working workaround is supplying transparent stroke color or extremely small (but positive or else it will not work) stroke width. However, this approach requires the stroke data to be sent to the client which needlessly uses up more of the already small (when visualizing something in the whole room) 500kB limit.
The text was updated successfully, but these errors were encountered:
In JS, it is possible to supply to, e.g.,
RoomVisual.circle
options withIt means that there should be no stroke and is different from empty options
{}
which mean that the stroke should be default (rather thick and light).Currently in the API it is impossible to supply an undefined stroke. The stroke can either be
None
meaning default orSome(x)
meaning widthx
, there is noundefined
option that means no stroke. A working workaround is supplying transparent stroke color or extremely small (but positive or else it will not work) stroke width. However, this approach requires the stroke data to be sent to the client which needlessly uses up more of the already small (when visualizing something in the whole room) 500kB limit.The text was updated successfully, but these errors were encountered: