/CesiumJS_HelpfulCodeBlocks

Helpful code blocks and / or examples based on CesiumJS

Primary LanguageJavaScript

CesiumJS_HelpfulCodeBlocks

Helpful code blocks and / or examples based on CesiumJS

  • get_lat_long_height_from_terrain.js
    • Mouse Left Click event prints latitude, longitude and height FROM TERRAIN to console
  • get_lat_long_height_from_3dtiles
    • Mouse Move End Event prints latitude, longitude and height FROM 3DTILES to console
  • get_all_attributes_from_3dtiles
    • Mouse Move End Event prints all attributes FROM 3DTILES to console
  • get_all_attributes_from_3dtiles_by_left_click.js
    • LEFT CLICK Event prints all attributes FROM 3DTILES to console
  • highlight_picked_feature_and_show_overlay_tags
    • Mouse Move End picks instances, highlight them and shows overlayed tag on them
  • move_camera_with_keyboard_and_display_vr.js
    • Keyboard W,S,A,D buttons trigger camera movements and view is able to view in VR mode
  • show_only_filtered_instances.js
    • Shows only filtered instances using attributes in 3D Tiles.
  • Camera_flyto_3Dgeometry_extent_points.js
    • Camera fly to corner points of a 3D oriented boundary box using BoundingSphere.
  • highlight_3dtiles_intance_and_show_tag_w_att.js
    • Another sample to highlight mouse over instances in 3D tiles and show tag using embedded attributes
  • get_only_latlongheight_from_3dtiles_using_left_click.js
    • Another lat long height sampler with LEFT_CLICK action on 3D TILES.
  • slow_down_mouse_wheel_zoom.js
    • Slow down mouse wheel zoom amount using camera height as factor.