10002: Layer's data source doesn't have a spatial index
The data source for this map layer does not contain a spatial index, which will affect drawing performance.
Build a spatial index for your layer's data source. See Add Spatial Index for more information.
The spatial index is used to quickly locate features when you display, edit, or query data. Therefore, an appropriate spatial index is important, especially when you're working with large datasets.
It is very important to build a spatial index for your datasets. This will significantly increase map display performance as you navigate around your dynamic map.
See Setting spatial indexes for more information.