Skip to content

Hosted data services provide a way to store, manage, and access your own geographic data for maps. You can access data services to display features, map tiles, or 3D objects such as buildings. Supported data types include feature data, scene data, and map tile data.

Feature data

A feature service allows you to store, access, and manage collections of features. Each collection is known as feature layer. You can access features in a feature layer with a SQL and/or spatial query. Features can be returned in JSON, GeoJSON, PBF, and other formats. To create a feature service, you import data with the ArcGIS portal. You also use the portal to set the service capabilities, support for editing, access and security, and cache settings.

Steps
  1. Use ArcGIS portal to import your data and create a feature service and feature layer.
  2. Add the feature layer to a scene with CesiumJS. Use the service URL.
  3. Optionally, use a SQL and/or spatial query to select a subset of features.

Style a feature layer

This example shows how to query and style a feature layer then add it to the scene as a Cesium.GeoJsonDataSource.

Add and style a feature layer.
Go to tutorial

Tutorials

Scene data

A scene service contains scene data stored in the Indexed 3D Scene Layer (I3S) format, an OGC standard. CesiumJS supports loading two types of scene layers hosted in ArcGIS: 3D object layers and integrated mesh layers.

Steps
  1. Use ArcGIS portal to import your scene layer package and create a scene service.
  2. Add the scene layer to a scene with CesiumJS. Use the service URL.
  3. Optionally, if your layer has gravity-related heights, add a terrain provider.

Add 3D objects

This example shows how to add a 3D object layer containing textured building models of San Francisco.

Add a 3D object layer to a scene.
Go to tutorial

Add an integrated mesh

This example shows how to add an integrated mesh containing textured building models of Frankfurt.

Add an integrated mesh to a scene.
Go to tutorial

Tutorials

Map tile data

A map tile service provides access to pre-rendered image tiles (raster tiles) that represent a snapshot of feature data. Map tile services are created from feature services by using ArcGIS portal. You can also use the portal to control the service security, tile scales, and caching settings.

Steps
  1. Use ArcGIS portal to import your data and create a feature service (and feature layer).
  2. Style the feature layer.
  3. Publish a map tile layer from the feature layer.
  4. Add the map tile layer to a scene with CesiumJS. Use the service URL.

Add map tiles

This example shows how to add a map tile layer to a CesiumJS application using ArcGISMapServerImageryProvider.

Add a map tile layer to a scene.
Go to tutorial

More resources

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.