Creating the map document
Before publishing a linear referencing service (LRS), you must use ArcGIS Pro to create a map document that contains at least one LRS Network or an event layer.
Learn more about making your data accessible to ArcGIS Server
Publishing a Linear Referencing-capable map service in ArcGIS Pro
For ArcGIS Pro steps, refer to share as web layers with linear referencing and version management .
Note:
When publishing the resource in ArcGIS Pro, ensure the Linear Referencing and Version Management check boxes are checked.

Using the service
A map service with linear referencing capability can be used to build web-based and connected mobile linear referencing apps. In addition, Event Editor consumes your data from this type of map service.