Select to view content in your preferred language

Best Practice: Feature Layer vs Tile and Feature Layer

438
2
12-02-2024 04:56 PM
BlakeMorrison
Frequent Contributor

Hi fellow mappers,

There's some questions in my office regarding the use of Tile and Feature Layers. I have my own opinions but was hoping to hear other's opinions and practices.

 

The goal: Display an 18MB FS in a map and provide popups.

"Standard practice" in my office would be to add both a tile layer, for draw speed, and a(n invisible) feature layer, for popups, to the map.

0 Kudos
2 Replies
ChristopherCounsell
MVP Regular Contributor

The answer is that Esri will support this better, hopefully soon:

https://community.esri.com/t5/arcgis-online-ideas/vector-tile-popups/idi-p/972445/page/4#comments

Where you can have a vector tile layer in your map and query a feature layer outside the map. It's currently possible in Pro, but not the Web Map Viewer.

In your case I think adding both a vector tile and a feature layer (no symbology?) is not best practice. You'll have all the weight of a feature layer in your map anyway. Just use the feature layer.

18mb is not a large feature service either. I wouldn't expect drawing speed issues nor a need for a vector tile layer. It could be that this layer could be optimized to draw faster. Try:

  • Optimizing the layer to improve feature performance
  • Have the feature layer in the same projection as the basemap, to avoid projection on the fly
  • Disable editing
  • Don't use relative queries (e.g. date-based)
  • Check the geometry in Pro, particularly for lines and polygons. Too many vertices? Run the generalise tool. Run check geometry to see if there's any issues.

In summary it will get better soon, but for now if you need feature layer functionality, use a feature layer and take the steps to ensure it's performing optimally. If you don't need feature layer functionality like query or editing, just use vector tiles.

BlakeMorrison
Frequent Contributor

Thank you for your very thorough answer.

0 Kudos