Skip to content
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

Initialize VTS to the location of the GeoJson loaded #106

Closed
mghildiy opened this issue Jul 16, 2018 · 4 comments
Closed

Initialize VTS to the location of the GeoJson loaded #106

mghildiy opened this issue Jul 16, 2018 · 4 comments

Comments

@mghildiy
Copy link

Hi,

I am working on a VTS based web app.

I plan to read GeoJson data from a URL. I want that my app is initialized to this data, like appropriate positioning of camera etc.

How can this be achieved?

@davidmtech
Copy link
Member

Hello,

you can take an inspiration from this example which loads GeoJson form URL:
https://jsfiddle.net/2sowet7x/

some parts of code for positioning of camera can be found there:
https://jsfiddle.net/3sr0d8g5/show/

More examples:
https://github.com/Melown/vts-browser-js/wiki/Examples

@mghildiy
Copy link
Author

Thanks for the update.

I have another query. Can I extend VTS to enable user to interact with my map? Like, I want to render a point cloud, and enable user to draw bounding volumes around objects in the point cloud, like trees,houses, road signs etc. Can this be achieved with VTS?

@davidmtech
Copy link
Member

VTS Browser does not support point clouds. But VTS Browser is open source, so you can add support for point clouds to the rendering pipeline.

@mghildiy
Copy link
Author

Thanks for inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants