Replaced deprecated call to `SpatialReference.toMilitaryGrid`