ArcGIS Online returns a warning message in Map Viewer if the point, line, or polygon features have Z-values and/or M-values enabled:
Error: The layer <feature layer> did not draw completely.
The features display in the Visualization tab of the Item Details and the attribute table opens in Map Viewer, but the features are not visible in Map Viewer.
ArcGIS Online is unable to display feature classes with Z-values and M-values in Map Viewer.
Removing the Z-values and M-values from the feature class enables the map to be visualized in Map Viewer. It is necessary to create a copy of the feature class without the Z-values and M-values before publishing the data as a web map as these values cannot be removed from an existing feature class.
Note: An alternate workaround would be to publish the data as a web scene if the Z-values and M-values are necessary in a feature class. For more information, refer to ArcGIS Pro: Share a web scene.