Please describe the feature that you want to propose
Currently there is a way to get the viewport (getViewport), but that will only output the x,y for the topleft corner of the currently shown viewport.
It would be nice to be able to get the center of the viewport as well, which would be calculated based on the size of the DOM node, zoom level, etc.
My purpose is to automatically add nodes to the center of the current viewport.
Please describe the feature that you want to propose
Currently there is a way to get the viewport (getViewport), but that will only output the x,y for the topleft corner of the currently shown viewport.
It would be nice to be able to get the center of the viewport as well, which would be calculated based on the size of the DOM node, zoom level, etc.
My purpose is to automatically add nodes to the center of the current viewport.