3D Icons

The 3D icons sample illustrates how to display and style 3D icons (meshes).

The sample shows the San Francisco area brought to life by the use of 3D icons. When you start the sample you see an F35 aircraft with a transparent cockpit and a billboard showing an advertisement ad for HxDR on a carrier aircraft's deck. In the background the Alcatraz prison is visible. When you turn around, you see the Golden Gate Bridge in the distance. You can also see military aircraft patrolling the airspace around the carrier.

All icons are selectable. When you select one, you can inspect it in more detail in an overlay asset viewer. The asset viewer loads the selected icon in a Cartesian view with a perspective camera. After loading, the icon is centered in the view, slowly rotating automatically by means of an orbit controller. You can control the rotation and zoom in or out to inspect the icon from all sides.

These 3D models are provided for sample purposes only and should not be used in an application that is violating the 3D Warehouse General Model License Agreement . 3D Warehouse General Model License Agreement provides that “You may not, and you may not permit anyone else to […] aggregate any content (including Models) obtained from 3D Warehouse for redistribution, or use or distribute any content obtained from 3D Warehouse in a mapping or geographic application or service, except as expressly authorized under this License Agreement.”

This sample also demonstrates some easily configurable simple 3D icons. A dome encases Alcatraz Island, while aircraft circle it. The aircraft have a field of view which is visualized by a cone.

There are a number of ways to define a 3D icon. You can

  • specify a URL to a GLTF file.
  • create a simple configurable 3D icon using Simple3DMeshFactory .
  • create a 3D icon at the triangle level with MeshFactory .
All 3d icons are painted using a FeaturePainter in combination with a Icon3DStyle.
---°--'--",----°--'--"
0.0m
Infinity km
LAYERS
Elevation
3D Icons
Aerial imagery
ASSET VIEWER
Select an asset on the map to view it.
compass

3D Icons

The 3D icons sample illustrates how to display and style 3D icons (meshes).

The sample shows the San Francisco area brought to life by the use of 3D icons. When you start the sample you see an F35 aircraft with a transparent cockpit and a billboard showing an advertisement ad for HxDR on a carrier aircraft's deck. In the background the Alcatraz prison is visible. When you turn around, you see the Golden Gate Bridge in the distance. You can also see military aircraft patrolling the airspace around the carrier.

All icons are selectable. When you select one, you can inspect it in more detail in an overlay asset viewer. The asset viewer loads the selected icon in a Cartesian view with a perspective camera. After loading, the icon is centered in the view, slowly rotating automatically by means of an orbit controller. You can control the rotation and zoom in or out to inspect the icon from all sides.

These 3D models are provided for sample purposes only and should not be used in an application that is violating the 3D Warehouse General Model License Agreement . 3D Warehouse General Model License Agreement provides that “You may not, and you may not permit anyone else to […] aggregate any content (including Models) obtained from 3D Warehouse for redistribution, or use or distribute any content obtained from 3D Warehouse in a mapping or geographic application or service, except as expressly authorized under this License Agreement.”

This sample also demonstrates some easily configurable simple 3D icons. A dome encases Alcatraz Island, while aircraft circle it. The aircraft have a field of view which is visualized by a cone.

There are a number of ways to define a 3D icon. You can

All 3d icons are painted using a FeaturePainter in combination with a Icon3DStyle.