The ArcGIS Enterprise portal includes a variety of basemaps that provide immediate geographic context for your operational layers. The basemaps are stored as tile layers, designed for fast and simple access by web maps, web apps, ArcGIS, and nearly any mapping software application. For example, you might include a basemap with tiles of streets in your neighborhood to provide a visual reference for the street signs in your feature layer. Tile layers are also useful when you need to expose a map or layer on the web for the visualization of relatively static data.
Tile layers come in different formats based on the original source data. Tile layers can be stored as prerendered raster tiles or as vector tiles. Both raster and vector tiles are designed to provide high-performance and high-scalability delivery of map data for visualization purposes.
Raster tile layers
Raster tile layers deliver basemaps to your client application as image files (for example, JPG or PNG format) that have been prerendered and stored on the server and are displayed as is by the client. Raster tile layers are most appropriate for basemaps that give your maps geographic context such as imagery (as in the World Imagery basemap) or feature-based maps such as in the Topographic, National Geographic, Oceans, and other basemaps. Raster tile layers can also be composed of static operational layers such as thematic maps of your data.
The tile layer format is fast to transmit over the internet and is easily understood by most common mapping software applications, so these basemaps are compatible not only with ArcGIS and web apps built with the ArcGIS APIs, but also third-party apps that use OGC protocols such as WMS/WMTS. Other benefits of raster tile layers include the following:
- Work well across a wide range of applications and devices (web, desktop, and mobile), including desktop applications, such as ArcMap, and older versions of web browsers.
- Provide high-end cartographic capabilities such as advanced label placement and symbology.
- Support various raster data sources such as imagery and elevation data.
- Can be printed from web mapping applications.
Vector tile layers
A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn. Vector tiles are similar to raster tiles, but they store a vector representation of the data; that is, geographic features are represented as points, lines, and polygons in a format understood by the client application. Unlike raster tile layers, vector tile layers can adapt to the resolution of their display device and be restyled for multiple uses. Vector tiles have a smaller file size than raster tiles, which translates to faster maps and better performance. The combination of tile access performance and vector drawing allows the tiles to adapt to any resolution of the display, which may vary across devices.
For more information on vector tile layers, view the following story maps:
In Map Viewer, you can customize the style of the vector tile layer and the contents of the map. Other advantages of vector tile layers include the following:
- You can use a single set of vector tiles to generate many different map styles. For example, you can change symbols and fonts or change languages for labels on a vector tile layer without having to regenerate tiles.
- Vector tile layers look better on high-resolution displays (for example, retina devices) than raster tiles do. Vector tiles can be displayed at any scale level with clear symbology and labels in desktop applications such as ArcGIS Pro.
- Vector tiles are much smaller in size than corresponding raster tiles. Therefore, they take less time to build and require less disk space to store.
- Desktop applications, such as ArcGIS Pro, can project vector tile layers into various coordinate systems without distortion of labels and other symbols.
- When you publish a vector tile layer from ArcGIS Pro (2.8 and later releases), you can simultaneously publish an associated feature layer. Editors can update the data in the feature layer and you can rebuild the vector tile cache to incorporate the edits into the vector tile layer.
Esri offers a set of basemaps delivered as vector tiles. Members of the default administrator role can configure Map Viewer and Scene Viewer to use these vector tile basemaps so you can use them in your maps and scenes. They include a number of styles that you can customize. Visit the Esri vector basemap group to see sample vector styles you can use as well as what can be done to change the look of the map. Sample styles include simple color changes and more involved redesigns using sprite and font changes. The vector basemaps are updated frequently and include regular contributions from the GIS community.
With ArcGIS Pro 1.2 and later, you can share a vector tile package to your organization and publish the uploaded vector tile package as a hosted layer. With ArcGIS Pro 1.4 and later, you can publish a hosted vector tile layer from a map in ArcGIS Pro directly to your portal.
Considerations for using vector tile layers
The following are some considerations for using vector tile layers:
- Vector tile layers can be displayed in most current versions of desktop browsers, including Google Chrome, Mozilla Firefox, and Safari.
- Vector tile layers have the best performance on machines with newer hardware because they require display drivers that support WebGL.
When to create each type of tile layer
Both raster and vector tile layers support a wide range of symbology sets and display features faster than feature or dynamic map layers because they only need to access the tile caches rather than source data. If you need this functionality, publish a tile layer. But when should you use a raster tile layer and when should you use a vector tile layer?
In most cases, you should publish a vector tile layer. Vector tile layers use less disk space and take less time to build caches than raster tile layers. Exceptions to this are when you need to publish raster data or if the clients that will consume your layer are running on older machines that have display drivers that do not support WebGL. In those cases, publish a raster tile layer.
When you publish a vector tile layer from ArcGIS Pro, you have the option to publish an associated feature layer with it. If you need to update the vector data included in the vector tile layer on a frequent basis (hourly, daily, weekly), you should publish an associated feature layer with the vector tile layer. When you do this, you and the other editors with whom you share the feature layer can edit data in the feature layer. You can then periodically rebuild the vector tile layer cache to incorporate the edits made in the feature layer.
When you include a feature layer, you have the additional choice of keeping the feature data in your data source (reference the registered data) or copying the data to the relational data store. If your source is an enterprise geodatabase or database and other clients or processes will update the data directly in the database, publish a feature layer that references the registered data source. If all feature edits should take place through a hosted feature service, publish a feature layer and copy the data.
If the data doesn't get updated often or at all, you can publish just the vector tile layer. If you do need to update the content of this type of vector tile layer, you can replace it with another vector tile layer.