javascript - How to add a drop down menu when user selects an icon on a cesium map -
i want select icon on cesium map
, left click , bring drop down selection menu icon is.
i using cesium map , need easy way add drop down.
i think should create drop down menu jquery when user clicked on entity.
handler = new cesium.screenspaceeventhandler(viewer.scene.canvas); handler.setinputaction(function(click) { var pickedobject = viewer.scene.pick(click.position); if (cesium.defined(pickedobject)) { // add jquery code create dropdown menu } } }, cesium.screenspaceeventtype.left_click);
Comments
Post a Comment