missioncommand / emp3-web

Extensible Map Platform (EMP) web development kit
Other
18 stars 9 forks source link

How do create 3d shapes? #314

Open alienatorZ opened 7 years ago

alienatorZ commented 7 years ago

How would a developer create 3d shapes such as a cone in either cesium or worldwind engines using EMP?

Thanks!

alberto-acevedo commented 7 years ago

EMP support the rendering of air control measures also known as airspaces. The following shapes are supported in Cesium: curtain, cylinder, orbit, polyarc, polygon, radarc, route, track. There is no support for 3D cones.

Support for 3D airspaces in Worldwind will be added as soon as the sdk support them.

The extruding of shapes (not the same as airspaces) will be added in the near future.

Take a look to the EMP3-Validation application. This application shows how to render airspaces to the Cesium engine. Download the latest release of EMP3: emp3-map.war, emp3-validation.war. Deploy the wars in your preferred web server like for example Tomcat. Start Tomcat. Open the browser and go to http://localhost:8080/validation/index.html (assuming you are running the server locally in your computer in port 8080). Then add an overlay. Then go to General/Create Air Controil Measure. Scroll down to the bottom of the page to see the list of airspaces to render.

Take a look to the the readme file in https://github.com/missioncommand/emp3-web for instructions about how to run the validation tool in development mode using grunt.

alienatorZ commented 7 years ago

Ok, thank you. Is there a way to access the underlying map engine to use its features directly while using EMP?