I'm porting some Leaflet map code to OpenGlobus and would like to have the camera zoom to a bounding box.
Leaflet code looks like this:
[ data.boundingbox, data.boundingbox ],
[ data.boundingbox, data.boundingbox ]
I suspect I need to use createBoundsByExtent() and then zoom to the bounds.
A short example would help me here. I tried to grep through the examples for that function.
Side note: I think the API docs would also be a bit better with a few code lines how the described function should / could be used. At least the most important functions.