melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
218 stars 42 forks source link

Two instances of vts browser in a single html page. #198

Open VrushalNanavati opened 3 years ago

VrushalNanavati commented 3 years ago

Is it possible to create two vts browser instances in single html?

I'm trying to embed two side by side views of a map on a single web page. As per the Issue-184 two-camera example is given in vts-browser-cpp but it doesn't seem to be that straight forward in js.

If not two cameras, can we create two instances of vts-browser in a single web page instead?

Any help would be really appreciated!